angleFromPerpendicular Method

Return the (strongly-typed) angle from this vector to the plane perpendicular to planeNormal.

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

angleFromPerpendicular(planeNormal: Vector3d): Angle

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

Returns - Angle

Defined in

Last Updated: 17 December, 2024