C# Class Axiom.Graphics.EdgeData.Edge

Edge data.
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
isDegenerate bool
sharedVertIndex int[]
triIndex int[]
vertIndex int[]

Public Methods

Method Description
Edge ( ) : System

Default constructor.

ToString ( ) : string

Method Details

Edge() public method

Default constructor.
public Edge ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

isDegenerate public property

Indicates if this is a degenerate edge, ie it does not have 2 triangles.
public bool isDegenerate
return bool

sharedVertIndex public property

Vertex indices as used in the shared vertex list, not exposed.
public int[] sharedVertIndex
return int[]

triIndex public property

The indexes of the 2 tris attached, note that tri 0 is the one where the indexes run *counter* clockwise along the edge. Indexes must be reversed for tri 1.
public int[] triIndex
return int[]

vertIndex public property

The vertex indices for this edge. Note that both vertices will be in the vertex set as specified in 'vertexSet', which will also be the same as tri 0.
public int[] vertIndex
return int[]