 |
MeshUtilsProject3DPointsTo2DPlane(IListPoint3D, ListInt32, Vector3D, Vector3D, Rect) Method |
Projects a list of 3D position (defined in positionIndexes and positions) into a 2D plane with specified planeNormalVector and planeHeightVector.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntaxpublic static List<Point> Project3DPointsTo2DPlane(
IList<Point3D> positions,
List<int> positionIndexes,
Vector3D planeNormalVector,
Vector3D planeHeightVector,
out Rect bounds
)
Parameters
- positions IListPoint3D
- list of 3D position
- positionIndexes ListInt32
- List of indexes that are projected to 2D plane
- planeNormalVector Vector3D
- Vector3D that defines the plane normal - vector perpendicular to the plane
- planeHeightVector Vector3D
- Vector3D that defines the direction of the 2D height vector on the plane
- bounds Rect
- out: Rect with bounds of the 2D plane coordinates
Return Value
ListPointList of 2D points
See Also