CrystalSpace

Public API Reference

csTriangleMeshEdge Struct Reference
[Geometry utilities]

A definition of one edge. More...

#include <csgeom/trimeshtools.h>

Inheritance diagram for csTriangleMeshEdge:

List of all members.

Public Attributes

bool active
 Active or not.
int tri1
 Indices of the two triangles sharing this edge.
int vt1
 Indices of the two vertices forming the edge.

Detailed Description

A definition of one edge.

Definition at line 52 of file trimeshtools.h.


Member Data Documentation

Active or not.

If this flag is true the edge is active in the sense that it actually connects two non-coplanar triangles (or is only connected to one triangle). Edges that are not active are not relevant for outline calculation.

Definition at line 72 of file trimeshtools.h.

Indices of the two triangles sharing this edge.

If tri2 == -1 then this is an edge with only one triangle attached.

Definition at line 64 of file trimeshtools.h.

Indices of the two vertices forming the edge.

vt1 < vt2.

Definition at line 59 of file trimeshtools.h.


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

Generated for Crystal Space 2.0 by doxygen 1.6.1