The Mutable Vertex Grid Geometry concept allows in addition the assignment of vertex coordinates.
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 |