BRL-CAD

NMG topological edge. More...

#include <topology.h>

Collaboration diagram for edge:
[legend]

Data Fields

uint32_t magic
 
struct edgeuseeu_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...
 

Detailed Description

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.

Field Documentation

◆ magic

uint32_t magic

Definition at line 145 of file topology.h.

◆ eu_p

struct edgeuse* eu_p

Ptr to one use of this edge.

Definition at line 146 of file topology.h.

◆ is_real

long is_real

artifact or modeled edge (from tessellator)

Definition at line 147 of file topology.h.

◆ index

long index

struct # in this model

Definition at line 148 of file topology.h.


The documentation for this struct was generated from the following file: