A mesh face with a fixed number of vertices. More...
#include <imesh_face.h>
Public Member Functions | |
imesh_regular_face () | |
Default Constructor. | |
imesh_regular_face (const vcl_vector< unsigned int > &verts) | |
Constructor from a vector. | |
unsigned int | num_verts () const |
return the number of vertices. | |
void | flip_orientation () |
unsigned int | operator[] (unsigned int i) const |
Accessor. | |
unsigned int & | operator[] (unsigned int i) |
Protected Attributes | |
unsigned int | verts_ [s] |
A mesh face with a fixed number of vertices.
Definition at line 29 of file imesh_face.h.
imesh_regular_face< s >::imesh_regular_face | ( | ) | [inline] |
Default Constructor.
Definition at line 33 of file imesh_face.h.
imesh_regular_face< s >::imesh_regular_face | ( | const vcl_vector< unsigned int > & | verts | ) | [inline] |
Constructor from a vector.
Definition at line 36 of file imesh_face.h.
void imesh_regular_face< s >::flip_orientation | ( | ) | [inline] |
Definition at line 42 of file imesh_face.h.
unsigned int imesh_regular_face< s >::num_verts | ( | ) | const [inline] |
return the number of vertices.
Definition at line 40 of file imesh_face.h.
unsigned int imesh_regular_face< s >::operator[] | ( | unsigned int | i | ) | const [inline] |
Accessor.
Definition at line 48 of file imesh_face.h.
unsigned int& imesh_regular_face< s >::operator[] | ( | unsigned int | i | ) | [inline] |
Definition at line 49 of file imesh_face.h.
unsigned int imesh_regular_face< s >::verts_[s] [protected] |
Definition at line 51 of file imesh_face.h.