Click or drag to resize

UtilSignedAngleBetweenUnitVectors Method

Calculates the signed angle between two vectors in radians (must be unit vectors).

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static double SignedAngleBetweenUnitVectors(
	Vector3 v1,
	Vector3 v2,
	Vector3 n
)

Parameters

v1  Vector3
The first vector.
v2  Vector3
The second vector.
n  Vector3
Normal of the reference plane.

Return Value

Double
The signed angle between the two supplied unit vectors.
Remarks
A unit Vector3 is one such that Length equals one.
See Also