#include <enumerated-subrange.h>
Public Types | |
typedef Grid | grid_type |
typedef grid_types< Grid > | gt |
typedef gt::vertex_handle | vertex_handle |
typedef gt::cell_handle | cell_handle |
typedef gt::Cell | Cell |
typedef gt::Vertex | Vertex |
typedef gt::VertexOnCellIterator | VertexOnCellIterator |
typedef tp< Vertex > | tpV |
typedef tp< Cell > | tpC |
typedef vector< vertex_handle > | vertex_sequence |
typedef vector< cell_handle > | cell_sequence |
typedef vertex_sequence::const_iterator | v_iterator |
typedef cell_sequence::const_iterator | c_iterator |
typedef vertex_range_ref< grid_type, vertex_sequence > | vertex_range_type |
typedef cell_range_ref< grid_type, cell_sequence > | cell_range_type |
typedef mapped_element_ra_seq_iterator< vertex_sequence, handle2element_map< Vertex > > | VertexIterator |
typedef mapped_element_ra_seq_iterator< cell_sequence, handle2element_map< Cell > > | CellIterator |
typedef facet_set_of_cells_iterator< CellIterator > | FacetIterator |
typedef FacetIterator | EdgeIterator |
Public Methods | |
enumerated_subrange () | |
enumerated_subrange (const grid_type &g) | |
void | append_vertex (vertex_handle v) |
void | append_cell (cell_handle v) |
unsigned | NumOfCells () const |
unsigned | NumOfVertices () const |
unsigned | NumOfEdges () const |
CellIterator | FirstCell () const |
CellIterator | EndCell () const |
VertexIterator | FirstVertex () const |
VertexIterator | EndVertex () const |
FacetIterator | FirstFacet () const |
FacetIterator | FirstEdge () const |
FacetIterator | EndFacet () const |
FacetIterator | EndEdge () const |
vertex_range_type | range (tpV) const |
vertex_range_type | vertex_range () const |
vertex_range_type | Vertices () const |
cell_range_type | range (tpC) const |
cell_range_type | cell_range () const |
cell_range_type | Cells () const |
const grid_type & | TheGrid () const |
cell_handle | handle (const Cell &C) const |
vertex_handle | handle (const Vertex &V) const |
This class has value-semantics, i.e. really stores the enumerated sequence.
There is no check if the different element ranges are consistent, i.e. if the sequence of vertices is exactly the set of adjacent vertices to the sequence of cells. This has to be ensured at construction time, for example by using ConstructSubrange.
Definition at line 515 of file enumerated-subrange.h.