Click or drag to resize

QuaternionDistance Method

Returns the distance or norm of the difference between two quaternions.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static double Distance(
	Quaternion p,
	Quaternion q
)

Parameters

p
Type: Rhino.GeometryQuaternion
A quaternion.
q
Type: Rhino.GeometryQuaternion
Another quaternion.

Return Value

Type: Double
(p - q).Length()
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also