Edit

Share via


Vector3d.CalculateAngle Method

Definition

Overloads

CalculateAngle(Vector3d, Vector3d)

Calculates the angle (in radians) between two vectors.

CalculateAngle(Vector3d, Vector3d, Double)

CalculateAngle(Vector3d, Vector3d)

Calculates the angle (in radians) between two vectors.

public static double CalculateAngle (OpenTK.Vector3d first, OpenTK.Vector3d second);
static member CalculateAngle : OpenTK.Vector3d * OpenTK.Vector3d -> double

Parameters

first
Vector3d

The first vector.

second
Vector3d

The second vector.

Returns

Angle (in radians) between the vectors.

Remarks

Note that the returned angle is never bigger than the constant Pi.

Applies to

CalculateAngle(Vector3d, Vector3d, Double)

public static void CalculateAngle (ref OpenTK.Vector3d first, ref OpenTK.Vector3d second, out double result);
static member CalculateAngle :  *  *  -> unit

Parameters

first
Vector3d
second
Vector3d
result
Double

Applies to