Vertex structure used for triangulation.
More...
|
| | Vertex (int originalIndex, Vector3 position) |
| | Construct a Vertex by defining its index in the original list and its position in 3D space. More...
|
| |
| Vector2 | GetPosOnPlane (Vector3 planeNormal) |
| | Get 2D position of this vertex on the plane defined by the given normal. More...
|
| |
Vertex structure used for triangulation.
- See also
- Triangulation
◆ Vertex()
| AsImpL.MathUtil.Vertex.Vertex |
( |
int |
originalIndex, |
|
|
Vector3 |
position |
|
) |
| |
Construct a Vertex by defining its index in the original list and its position in 3D space.
- Parameters
-
| originalIndex | Index in the original list. |
| position | Position in 3D space. |
◆ GetPosOnPlane()
| Vector2 AsImpL.MathUtil.Vertex.GetPosOnPlane |
( |
Vector3 |
planeNormal | ) |
|
Get 2D position of this vertex on the plane defined by the given normal.
- Parameters
-
| planeNormal | Normal of the plane used to project 3D vertices in 2D. |
- Returns
◆ NextVertex
| Vertex AsImpL.MathUtil.Vertex.NextVertex |
|
getset |
Reference to the next vertex this vertex is attached to.
◆ OriginalIndex
| int AsImpL.MathUtil.Vertex.OriginalIndex |
|
get |
Saved index in the original list.
◆ Position
| Vector3 AsImpL.MathUtil.Vertex.Position |
|
get |
◆ PreviousVertex
| Vertex AsImpL.MathUtil.Vertex.PreviousVertex |
|
getset |
Reference to the previous vertex this vertex is attached to.
◆ TriangleArea
| float AsImpL.MathUtil.Vertex.TriangleArea |
|
get |
Area of the triangle this vertex belogs to, automatically computed each time the connected vertices change.
The documentation for this class was generated from the following file:
- F:/Unity3D/Projects/DATASET/AsImpL/Assets/AsImpL/Scripts/MathUtil/MathData/Vertex.cs