#include <vertexList.hh>
Public Member Functions | |
VertexInfo (concepts::Real3d coord, uint index=0) | |
void | addEdge (uint edge) |
Adds an edge to the list of edges. | |
void | addFace (uint face) |
Adds a face to the list of faces. | |
void | addVolume (uint volume) |
Adds a volume to the list of volumes. | |
uint & | index () |
Sets the index of the vertex. | |
uint | index () const |
Returns the index of the vertex. | |
concepts::Real3d | coordinates () const |
Returns the coordinates. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const VertexInfo &v) |
Class containing information about one single vertex. Included are connectivity and coordinates. A whole list of vertices can be managed with VertexList.
A vertex is create by giving its coordinates. After creation, the connectivity information for the edges, faces and volumes can be added.
Definition at line 35 of file vertexList.hh.
|
inline |
Constructor.
Creates a vertex with the given coordinates and no edges, faces etc.
Definition at line 42 of file vertexList.hh.
|
inline |
Adds an edge to the list of edges.
Definition at line 46 of file vertexList.hh.
|
inline |
Adds a face to the list of faces.
Definition at line 49 of file vertexList.hh.
|
inline |
Adds a volume to the list of volumes.
Definition at line 52 of file vertexList.hh.
|
inline |
Returns the coordinates.
Definition at line 60 of file vertexList.hh.
|
inline |
Sets the index of the vertex.
Definition at line 55 of file vertexList.hh.
|
inline |
Returns the index of the vertex.
Definition at line 57 of file vertexList.hh.