signedAngleTo Method

Return the (strongly typed Angle) angle from this vector to vectorB, measured in the plane containing both, with vectorW indicating which side to view to control sign of the angle.

  • The returned angle can range from negative 180 degrees (negative PI radians) to positive 180 degrees (positive PI radians), not closed on the negative side.
  • The returned angle is "in the plane containing the two vectors"
  • vectorW distinguishes between the sides of the plane, but does not have to be perpendicular.
  • The returned angle has the same sign as vectorW dot product (thisVector cross vectorB)

signedAngleTo(vector1: Vector3d, vectorW: Vector3d): Angle

Parameter Type Description
vector1 Vector3d  
vectorW Vector3d  

Returns - Angle

Defined in

Last Updated: 12 June, 2024