 |
TriangulatorProject3DPositionTo2D(Vector3, Int32) Method |
Returns an array of 2D points that are created by projecting the 3D positions onto the xy, xz or yz plane (removing one of the coordinates).
The plane is determined by checking the normal of the first triangle and determining which component of the normal vector is the biggest (this coordinate is removed).
This requires that the positions lie on the same plane. Input positions and polygonIndices must not be null or have less than 3 elements.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic static Vector2[] Project3DPositionTo2D(
Vector3[] positions,
int[] polygonIndices
)
Parameters
- positions Vector3
- Array of 3D positions
- polygonIndices Int32
- triangle indexes of positions that define the positions that will be used in this method
Return Value
Vector2Array of 2D positions
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.Triangulator.Project3DPositionTo2D(System.Numerics.Vector3[],System.Int32[])"]
See Also