Cell-On-Cell Iterator ConceptGrid IteratorsGrid Vertex (Edge, Facet, Cell ...) Iterator ConceptVertex-On-Cell (-Facet, ...) Iterator Concept

Vertex-On-Cell (-Facet, ...) Iterator Concept

Description

A Vertex-On-Cell Iterator refines the concept of Grid Incidence Iterator : It allows to access all vertices incident to a given cell. Thus, it can also be seen as a Grid Sequence Iterator over the Vertex Grid Range of that cell.

Similar iterators can be defined for other anchor elements, most notably facets. For these, just replace cell with facet.

Refinement of

Incidence Iterator

Notation

V is a model of Vertex-On-Cell Iterator
v is an object of type V
c is an object of type V::Cell

Associated types

The types V::element_type and V::anchor_type can now be named more specifically. The names from the incidence iterator concept remain valid.

Name

Expression Description
Vertex type V::Vertex synomym to V::element_type
Cell type V::Cell the cell type V operates upon,

model of Grid Cell

Anchor type V::anchor_type synonym to V::Cell,

model of Vertex Grid Range

Valid Expressions

Name

Expression Type requirements return type
anchor cell v.TheCell();   V::Cell const&

Expression semantics

Name

Expression Precondition Semantics Postcondition
anchor cell Cell C = v.TheCell(); v is not singular get the anchor of v c is a valid cell;

c == v.TheCell()

Refinements
Models

Complex2D::VertexOnCellIterator, defined in vertex-on-cell2d-it.h.

Notes
See also

Grid   Grid Range  
Grid Element   Grid Vertex   Grid Cell  
Grid Sequence Iterator   Grid Incidence Iterator  


Guntram Berti


Cell-On-Cell Iterator ConceptGrid IteratorsGrid Vertex (Edge, Facet, Cell ...) Iterator ConceptVertex-On-Cell (-Facet, ...) Iterator Concept