Prev Up
Go backward to Grid Element Handle Concept
Go up to Grid Entities

Vertex (Cell, Edge, ...) Handle Concept

Description
A Grid Vertex Handle is a placeholder for a Vertex with minimal space requirements.

The same description applies in principle to cell handles, edge handles and so on. Therefore, this documentation is understood to stand sui generis for these, too.

Refinement of
Grid Element Handle
Notation
G is a type which is a model of Grid
g is an object of type G
H is a shorthand for G::vertex_handle, which is a model of Grid Vertex Handle
h1, h2 are objects of type H
Associated Types
Valid Expressions
Expression semantics
Name Expression Precondition Semantics Postcondition
Equality comparison h1 == h2   equivalent to g.vertex(h1) == g.vertex(h2)

(if h1, h2 are valid handles of g)

 
Models
Complex2D::vertex_handle is equal to int.
Complex2D::cell_handle is equal to int.
A generic version for facet handles (for non-stored facets) is facet_handle<Complex2D::cell_handle>, defined in facet-handle.h.
See also
Grid   Grid Entity   Grid Element   Grid Element Handle   Grid Vertex  
Guntram Berti

Prev Up