|
MeshUtilsProject3DPointsTo2DPlane Method |
Projects a list of 3D position into a 2D plane with specified planeNormalVector and planeHeightVector.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static List<Point> Project3DPointsTo2DPlane(
IList<Point3D> positions,
Vector3D planeNormalVector,
Vector3D planeHeightVector,
out Rect bounds
)
Parameters
- positions IListPoint3D
- list of 3D position
- 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