![]() |
VCG Library
|
This class is used to build edge based data structure from indexed data structure and viceversa. More...
#include <halfedge_indexed.h>
Static Public Member Functions | |
static void | FromIndexed (MeshType &m) |
static bool | CheckConsistency_FHp (MeshType &m) |
static bool | CheckConsistency (MeshType &m) |
static void | AddHEdge (MeshType &m, HEdgeType *e0, HEdgeType *e1) |
static void | RemoveHEdge (MeshType &m, HEdgeType *e) |
This class is used to build edge based data structure from indexed data structure and viceversa.
Definition at line 40 of file halfedge_indexed.h.
|
inlinestatic |
Adds an edge between the sources of e0 and e1 and set all the topology relations. If the edges store the pointers to the faces then a new face is created.
<— e1 -— X <---—e1_HEPp— ^ || ei0 || ei1 || v -—e0_HEPp-> X --— e0 ---—>
Definition at line 474 of file halfedge_indexed.h.
|
inlinestatic |
Checks that half edges and face relation are consistent
Definition at line 262 of file halfedge_indexed.h.
|
inlinestatic |
Checks pointers FHEp() are valid
Definition at line 248 of file halfedge_indexed.h.
|
inlinestatic |
build a half-edge data structure from an indexed data structure. Note that the half-edges are allocated here for the first time. If you have a mesh where there are already edges, they will be removed and the data lost, so do not use this function to just "update" the topology of half edges.
Definition at line 75 of file halfedge_indexed.h.
|
inlinestatic |
Detach the topology relations of a given edge
<— e->HENPp -X — <------—eO_HEPp— ^ || e || e->HEOp() || v -—e_HEPp–> X --— e->HEOp->HENPp() ---—>
Definition at line 533 of file halfedge_indexed.h.