CDynamicMesh class : Dynamic mesh. More...
#include <DynamicMesh.h>
Public Member Functions | |
CDynamicMesh () | |
~CDynamicMesh () | |
V * | splitFace (F *pFace) |
V * | splitEdge (E *pEdge) |
void | swapEdge (E *edge) |
Protected Member Functions | |
void | __attach_halfedge_to_edge (H *he0, H *he1, E *e) |
Protected Attributes | |
int | m_vertex_id |
int | m_face_id |
CDynamicMesh class : Dynamic mesh.
Mesh supports FaceSlit, EdgeSlit, EdgeSwap operations
Definition at line 36 of file DynamicMesh.h.
MeshLib::CDynamicMesh< V, E, F, H >::CDynamicMesh | ( | ) | [inline] |
CDynamicMesh constructor
Definition at line 40 of file DynamicMesh.h.
{ m_vertex_id = 0; m_face_id = 0; };
MeshLib::CDynamicMesh< V, E, F, H >::~CDynamicMesh | ( | ) |
void MeshLib::CDynamicMesh< V, E, F, H >::__attach_halfedge_to_edge | ( | H * | he0, | |
H * | he1, | |||
E * | e | |||
) | [protected] |
attach halfeges to an edge
he0,he1 | the halfedges | |
e | edge |
V* MeshLib::CDynamicMesh< V, E, F, H >::splitEdge | ( | E * | pEdge | ) |
Split one edge to two edges
pEdge | the edge to be split |
V* MeshLib::CDynamicMesh< V, E, F, H >::splitFace | ( | F * | pFace | ) |
Split a Face to three small faces
pFace | the face to be split |
void MeshLib::CDynamicMesh< V, E, F, H >::swapEdge | ( | E * | edge | ) |
Swap an edge
edge | the edge to be swapped |
int MeshLib::CDynamicMesh< V, E, F, H >::m_face_id [protected] |
next face id
Definition at line 67 of file DynamicMesh.h.
int MeshLib::CDynamicMesh< V, E, F, H >::m_vertex_id [protected] |
next vertex id
Definition at line 65 of file DynamicMesh.h.