Triangle class.
The following tables list the members exposed by the Triangle type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
The a-vertex. |
||
Identifies the ab side. |
||
The ab-determination. |
||
The ab-determination. |
||
The a-length. |
||
The ab-length. |
||
The b-vertex. |
||
Identifies the bc side. |
||
The bc-determination. |
||
The bc-determination. |
||
The b-length. |
||
The bc-length. |
||
The c-vertex. |
||
Identifies the ca side. |
||
The ca-determination. |
||
The ca-determination. |
||
The c-length. |
||
The ca-length. |
||
Identifies the center vertex. |
||
Identifies the center. |
||
Index of this triangle for debug. |
Name | Description | |
---|---|---|
Vertex A |
||
Triangle AB shares side AB. |
||
Length of AB, cached and lazy calculated. |
||
Area of the triangle. |
||
Vertex B |
||
Triangle BC shares side BC. |
||
Length of BC, cached and lazy calculated. |
||
Vertex C |
||
Triangle CA shares side CA. |
||
Length of CA, cached and lazy calculated. |
||
Compute the center |
||
Farthest distance a point is from center is distance squared. |
||
Index. |
||
Which search region it is in. |
Name | Description | |
---|---|---|
Does this contain t. |
||
Get the indexed edge. |
||
Return the indexed edge length; |
||
Vertex. |
||
Is this rectangle within the region. |
||
Return the oposite of the edge. |
||
Repair any Edge links, both ways. |
||
Reset the index, indexing gives each triangle an ID unique since construction of the mesh. |
||
Set the edge by index. |
||
Set the vertex by index. |
||
To string. |
||
Get the angle of a vertex in radians. |
||
Get the cosine angle associated with a vertex. |
Name | Description | |
---|---|---|
Checks if both vertexes are in. |
||
Vertex sidedness test. |