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) Version: 5.1.50000.0 (5.0.20693.0)
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.
See Also