Click or drag to resize

Vector3dVectorAngle Method (Vector3d, Vector3d)

Compute the angle between two vectors.

This operation is commutative.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static double VectorAngle(
	Vector3d a,
	Vector3d b
)

Parameters

a
Type: Rhino.GeometryVector3d
First vector for angle.
b
Type: Rhino.GeometryVector3d
Second vector for angle.

Return Value

Type: Double
If the input is valid, the angle (in radians) between a and b; RhinoMath.UnsetValue otherwise.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also