The Vertex class represents a vertex with a single attribute (vertex coordinates).
#include <vertex.h>
Public Member Functions | |
| Vertex (const Point &coords) | |
| Point | coord () const |
| void | setCoord (const Point &coord) |
| Vertex::Vertex | ( | const Point & | coords | ) |
Constructs a vertex with the given (x,y,z) coordinates.
| Point Vertex::coord | ( | ) | const |
Returns the (x,y,z) coordinates of the vertex.
| void Vertex::setCoord | ( | const Point & | coord | ) |
Sets the (x,y,z) coordinates of the vertex.