radiansFromPerpendicular Method

Return the angle in radians (not as strongly typed Angle) from this vector to the plane perpendicular to planeNormal.

  • The returned angle is between -PI/2 and PI/2.
  • The returned angle is measured in the plane containing the two vectors.
  • The function returns PI/2 - radiansTo(planeNormal).

radiansFromPerpendicular(planeNormal: Vector3d): number

Parameter Type Description
planeNormal Vector3d a normal vector to the plane.

Returns - number

Defined in

Last Updated: 17 May, 2024