A mesh face with a fixed number of vertices. More...
#include <imesh_vertex.h>
Public Member Functions | |
imesh_vertex () | |
Default Constructor. | |
imesh_vertex (const vcl_vector< double > &coords) | |
Constructor from a vector. | |
unsigned int | dim () const |
return the dimension of the vertex. | |
double | operator[] (unsigned int i) const |
Accessor. | |
double & | operator[] (unsigned int i) |
Protected Attributes | |
double | coords_ [d] |
A mesh face with a fixed number of vertices.
Definition at line 25 of file imesh_vertex.h.
imesh_vertex< d >::imesh_vertex | ( | ) | [inline] |
Default Constructor.
Definition at line 29 of file imesh_vertex.h.
imesh_vertex< d >::imesh_vertex | ( | const vcl_vector< double > & | coords | ) | [inline] |
Constructor from a vector.
Definition at line 32 of file imesh_vertex.h.
unsigned int imesh_vertex< d >::dim | ( | ) | const [inline] |
return the dimension of the vertex.
Definition at line 36 of file imesh_vertex.h.
double imesh_vertex< d >::operator[] | ( | unsigned int | i | ) | const [inline] |
Accessor.
Definition at line 39 of file imesh_vertex.h.
double& imesh_vertex< d >::operator[] | ( | unsigned int | i | ) | [inline] |
Definition at line 40 of file imesh_vertex.h.
double imesh_vertex< d >::coords_[d] [protected] |
Definition at line 43 of file imesh_vertex.h.