UtilAngleBetweenLineAndPlane Method |
Returns the angle (in radians) between a unit
Vector3 direction, and a plane (specified by the unit normal
Vector3 to the plane).
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double AngleBetweenLineAndPlane(
Vector3 normalToPlane,
Vector3 direction
)
Parameters
- normalToPlane Vector3
- Plane unit Vector3 normal.
- direction Vector3
- Line unit Vector3.
Return Value
DoubleThe angle (in radians) between direction and the plane.
Remarks
See Also