dune-grid
2.1.1
|
simple class representing a corner of a cell More...
#include <dune/grid/io/file/vtk/corner.hh>
Public Member Functions | |
Corner (const Cell &cell, unsigned duneIndex) | |
construct a Corner | |
Corner () | |
construct an invalid Corner | |
const Cell & | cell () const |
get reference to the cell | |
void | cell (const Cell &cell__) |
set a new cell | |
unsigned | duneIndex () const |
get the index of the corner within the cell in Dune-numbering | |
void | duneIndex (unsigned i) |
set the index of the corner within the cell in Dune-numbering | |
unsigned | vtkIndex () const |
get the index of the corner within the cell in VTK-numbering | |
void | vtkIndex (unsigned i) |
set the index of the corner within the cell in VTK-numbering |
simple class representing a corner of a cell
Cell | Type of element this is a corner for. This can essentially be anything with a type() method, in particular an Entity or an Intersection. |
Dune::VTK::Corner< Cell >::Corner | ( | const Cell & | cell, |
unsigned | duneIndex | ||
) | [inline] |
construct a Corner
cell | Reference to the cell |
duneIndex | Index of the corner within the element in Dune-numbering |
Dune::VTK::Corner< Cell >::Corner | ( | ) | [inline] |
construct an invalid Corner
const Cell& Dune::VTK::Corner< Cell >::cell | ( | ) | const [inline] |
get reference to the cell
Referenced by Dune::VTK::CornerIterator< CellIterator >::CornerIterator(), and Dune::VTK::CornerIterator< CellIterator >::increment().
void Dune::VTK::Corner< Cell >::cell | ( | const Cell & | cell__ | ) | [inline] |
set a new cell
This also resets the index of the element to 0 (Dune-numbering), so if you want to set both element and index, set the cell first.
unsigned Dune::VTK::Corner< Cell >::duneIndex | ( | ) | const [inline] |
get the index of the corner within the cell in Dune-numbering
Referenced by Dune::VTK::CornerIterator< CellIterator >::equals().
void Dune::VTK::Corner< Cell >::duneIndex | ( | unsigned | i | ) | [inline] |
set the index of the corner within the cell in Dune-numbering
unsigned Dune::VTK::Corner< Cell >::vtkIndex | ( | ) | const [inline] |
get the index of the corner within the cell in VTK-numbering
This requires that the cell is valid
Referenced by Dune::VTK::CornerIterator< CellIterator >::CornerIterator(), and Dune::VTK::CornerIterator< CellIterator >::increment().
void Dune::VTK::Corner< Cell >::vtkIndex | ( | unsigned | i | ) | [inline] |
set the index of the corner within the cell in VTK-numbering
This requires that the cell is valid