My Project
|
The triangle data structure. More...
Public Member Functions | |||
Triangle () | |||
Initializes a new instance of the Triangle class. | |||
Vertex | GetVertex (int index) | ||
Gets the specified corners vertex. | |||
int | GetVertexID (int index) | ||
Gets the ID of the vertex at given index. | |||
ITriangle | GetNeighbor (int index) | ||
Gets a triangles' neighbor. | |||
int | GetNeighborID (int index) | ||
Gets the ID of the neighbor triangle at given index.
| |||
ISegment | GetSegment (int index) | ||
Gets a triangles segment. | |||
override int | GetHashCode () | ||
override string | ToString () | ||
Vertex | GetVertex (int index) | ||
Gets the vertex at given index. | |||
int | GetVertexID (int index) | ||
Gets the ID of the vertex at given index. | |||
ITriangle | GetNeighbor (int index) | ||
Gets the neighbor triangle at given index. | |||
int | GetNeighborID (int index) | ||
Gets the ID of the neighbor triangle at given index. | |||
ISegment | GetSegment (int index) | ||
Gets the segment at given index. | |||
Properties | |
int | ID [get, set] |
Gets or sets the triangle id. | |
int | Label [get, set] |
Region ID the triangle belongs to. | |
float | Area [get, set] |
Gets the triangle area constraint. | |
![]() | |
int | ID [get, set] |
Gets or sets the triangle ID. | |
int | Label [get, set] |
Gets or sets a general-purpose label. | |
float | Area [get, set] |
Gets or sets the triangle area constraint. | |
The triangle data structure.
|
inline |
Gets a triangles' neighbor.
index | The neighbor index (0, 1 or 2). |
Implements TriangleNet.Geometry.ITriangle.
|
inline |
Gets the ID of the neighbor triangle at given index.
index | The local index (0, 1 or 2). |
Implements TriangleNet.Geometry.ITriangle.
|
inline |
Gets a triangles segment.
index | The vertex index (0, 1 or 2). |
Implements TriangleNet.Geometry.ITriangle.
|
inline |
Gets the specified corners vertex.
Implements TriangleNet.Geometry.ITriangle.
|
inline |
Gets the ID of the vertex at given index.
index | The local index (0, 1 or 2). |
Implements TriangleNet.Geometry.ITriangle.
|
getset |
Gets the triangle area constraint.
Implements TriangleNet.Geometry.ITriangle.
|
getset |
Gets or sets the triangle id.
Implements TriangleNet.Geometry.ITriangle.
|
getset |
Region ID the triangle belongs to.
Implements TriangleNet.Geometry.ITriangle.