XYZ.AngleOnPlaneTo
Method
Description:
Returns the angle between this vector and the specified vector projected to the specified plane.
Returns the angle between this vector and the specified vector projected to the specified plane.
Remarks:
The angle is projected onto the plane orthogonal to the specified normal vector, counterclockwise with the normal pointing upwards.
The angle is projected onto the plane orthogonal to the specified normal vector, counterclockwise with the normal pointing upwards.
Parameters
Parameter | Type | Description |
---|---|---|
right | XYZ | The specified vector. |
normal | XYZ | The normal vector that defines the plane. |
Return Value
Type | Description |
---|---|
Double | The real number between 0 and 2*PI equal to the projected angle between the two vectors. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when right or normal is. |