Vertex Grid Geometry Concept |
The Vertex Grid Geometry concept is the weakest grid geometry concept. It simply provides a mapping from grid vertices to points in some space.
The Mutable Vertex Grid Geometry concept allows in addition the assignment of vertex coordinates.
Geo is a type which is a model of Vertex Grid Geometry
g is an object of type Geo
v, v1, v2 are objects of a type V which is a model of Grid Vertex.
q is an object of Geo::coord_type
Name | Expression | Description |
grid type | Geo::grid_type | underlying grid type, model of Vertex Grid Range. |
point type | Geo::coord_type |
the geometric point type,
representation of the elements of the topological
space where the geometry lives
model of STL Assignable. |
Name | Expression | Type requirements | return type |
get vertex coordinates | q = g.coord(v) | coord_type const& | |
set vertex coordinates | g.coord(v) = q | Geo is mutable | coord_type & |
Name | Expression | Precondition | Semantics | Postcondition |
coordinate read access | q = g.coord(v) | v is valid | if v1 == v2 then g.coord(v1) is the same asX g.coord(v2) | |
coordinate write access | g.coord(v) = q | v is valid | set the coordinate of v to q | g.coord(v) is equal to q |
Guntram Berti
Vertex Grid Geometry Concept |