Click or drag to resize

Vector3VectorAngle Method

Compute the angle between two vectors.

This operation is commutative.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static double VectorAngle(
	Vector3 a,
	Vector3 b
)

Parameters

a
Type: Karamba.GeometryVector3
First vector for angle.
b
Type: Karamba.GeometryVector3
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