OpenMesh
|
Interface for the internal face type. More...
#include <Doc/Concepts/MeshItems.hh>
Public Member Functions | |
unsigned char | n_vertices () const |
Get the number of vertices of this face. | |
void | set_n_vertices (unsigned char _n) |
Set the number of vertices of this face. More... | |
HalfedgeHandle | halfedge_handle () const |
Get a halfedge that belongs to this face. | |
void | set_halfedge_handle (HalfedgeHandle _eh) |
Set a halfedge that belongs this face. More... | |
Static Public Member Functions | |
static bool | is_triangle () |
Run-time test: is this face a triangle? | |
Interface for the internal face type.
This minimal interface must be provided by every face. It's up to the mesh kernel (or the items used by the mesh kernel) to implement it.
All methods marked as internal should only be used by the mesh kernel.
void OpenMesh::Concepts::MeshItems::FaceT< Refs_ >::set_halfedge_handle | ( | HalfedgeHandle | _eh | ) |
Set a halfedge that belongs this face.
void OpenMesh::Concepts::MeshItems::FaceT< Refs_ >::set_n_vertices | ( | unsigned char | _n | ) |
Set the number of vertices of this face.