|
TriangulatorProject3DPositionTo2D(Vector3) 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 must not be null or have less than 3 elements.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static Vector2[] Project3DPositionTo2D(
Vector3[] positions
)
Parameters
- positions Vector3
- Array of 3D positions
Return Value
Vector2Array of 2D positions
See Also