UtilDistanceToPlane Method |
Calculate the distance of a
Vector3 from a plane.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double DistanceToPlane(
Vector3 point,
Vector3 pointOnPlane,
Vector3 planeNormal
)
Parameters
- point Vector3
- Vector3 point to test.
- pointOnPlane Vector3
- Vector3 point on the plane.
- planeNormal Vector3
- Vector3 normal to the plane.
Return Value
DoubleDistance from the plane.
See Also