csTriangleMeshEdge Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes
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

bool csTriangleMeshEdge::active

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.

int csTriangleMeshEdge::tri1

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.

int csTriangleMeshEdge::vt1

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:

- csgeom/trimeshtools.h