Vector2d.DifferentialAngle Method

Computes the angular difference from this vector to another in the range -PI to +PI.
Public Function DifferentialAngle( _ 
ByVal v As Vector2d
) As Double
This language is not supported or no code example is available.
public double DifferentialAngle( 
Vector2d v 
)
This language is not supported or no code example is available.
public:  
double DifferentialAngle( 
Vector2d^ v 
)
This language is not supported or no code example is available.
public function DifferentialAngle( 
v : Vector2d 
) : double;
This language is not supported or no code example is available.

Parameters

v
Vector2d

The vector to compare with.

Return Value

double

A value between -PI to +PI Zero if the vectors have the same angle. Positive if v turns to left from this. Negative if v turns to right from this.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition