The Coordinate class represents a N-Dimensional point that will be part of an Element (e.g. Vertex...).
Allows to get and set an object that represents a coordinate. The type of this object must satisfy the PointConcept.
For example, if you have a Vertex Element v
with the Coordinate component, you'll be able to access to this component member functions from v
:
const P & coord() const
Returns a const reference of the coordinate of the element.
Definition coordinate.h:95
- Template Parameters
-
P | The type of the coordinate. This template argument must be a type that satisfies the PointConcept. |
ParentElemType | This template argument must be void if the component needs to be stored horizontally, or the type of the parent element that will contain this component if the component needs to be stored vertically. |
OPT | If true, the component will be optional. This argument is considered only if the component is stored vertically. |