Blender
V3.3
|
Public Member Functions | |
CDTVert ()=default | |
CDTVert (const vec2< T > &pt) | |
Public Attributes | |
FatCo< T > | co |
SymEdge< T > * | symedge {nullptr} |
blender::Set< int > | input_ids |
int | index {-1} |
int | merge_to_index {-1} |
int | visit_index {0} |
Define a templated 2D arrangement of vertices, edges, and faces. The #SymEdge data structure is the basis for a structure that allows easy traversal to neighboring (by topology) geometric elements. Each of CDTVert, #CDTEdge, and #CDTFace have an input_id set, which contain integers that keep track of which input verts, edges, and faces, respectively, that the element was derived from.
While this could be cleaned up some, it is usable by other routines in Blender that need to keep track of a 2D arrangement, with topology.
Definition at line 183 of file delaunay_2d.cc.
|
default |
|
explicit |
FatCo<T> blender::meshintersect::CDTVert< T >::co |
Coordinate.
Definition at line 185 of file delaunay_2d.cc.
Referenced by blender::meshintersect::cdt_draw().
int blender::meshintersect::CDTVert< T >::index {-1} |
Index into array that #CDTArrangement keeps.
Definition at line 191 of file delaunay_2d.cc.
blender::Set<int> blender::meshintersect::CDTVert< T >::input_ids |
Set of corresponding vertex input ids. Not used if don't need_ids.
Definition at line 189 of file delaunay_2d.cc.
int blender::meshintersect::CDTVert< T >::merge_to_index {-1} |
Index of a CDTVert that this has merged to. -1 if no merge.
Definition at line 193 of file delaunay_2d.cc.
SymEdge<T>* blender::meshintersect::CDTVert< T >::symedge {nullptr} |
Some edge attached to it.
Definition at line 187 of file delaunay_2d.cc.
int blender::meshintersect::CDTVert< T >::visit_index {0} |
Used by algorithms operating on CDT structures.
Definition at line 195 of file delaunay_2d.cc.