BRL-CAD
|
NMG topological edge. More...
#include <topology.h>
Data Fields | |
uint32_t | magic |
struct edgeuse * | eu_p |
Ptr to one use of this edge. More... | |
long | is_real |
artifact or modeled edge (from tessellator) More... | |
long | index |
struct # in this model More... | |
NMG topological edge.
To find all edgeuses of an edge, use eu_p to get an arbitrary edgeuse, then wander around either eumate_p or radial_p from there.
Only the first vertex of an edge is kept in an edgeuse (eu->vu_p). The other vertex can be found by either eu->eumate_p->vu_p or by BU_LIST_PNEXT_CIRC(edgeuse, eu)->vu_p. Note that the first form gives a vertexuse in the faceuse of opposite orientation, while the second form gives a vertexuse in the faceuse of the correct orientation. If going on to the vertex (vu_p->v_p), both forms are identical.
An edge occupies the range eu->param to eu->eumate_p->param in its geometry's parameter space. (cnurbs only)
Definition at line 144 of file topology.h.
uint32_t magic |
Definition at line 145 of file topology.h.
struct edgeuse* eu_p |
Ptr to one use of this edge.
Definition at line 146 of file topology.h.
long is_real |
artifact or modeled edge (from tessellator)
Definition at line 147 of file topology.h.
long index |
struct # in this model
Definition at line 148 of file topology.h.