 |
PlaneProject3DPointToPlane Method |
Projects a 3D position into this 2D plane.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntaxpublic Point Project3DPointToPlane(
Point3D point3D,
Vector3D planeWidthVector,
bool normalizePlaneVectors = true
)
Parameters
- point3D Point3D
- 3D point that is projected to the plane
- planeWidthVector Vector3D
- Vector3D that defines the direction of the 2D width vector on the plane (x value in the returned point)
- normalizePlaneVectors Boolean (Optional)
- when true (by default), then plane's normal and planeWidthVector are normalized before they are used for projection. When user ensures that those two vectors are already normalized, this value can be set to false to improve performance.
Return Value
Point2D point on the plane
See Also