M_Rhino_Geometry_Quaternion_Distance - mcneel/rhinocommon-api-docs GitHub Wiki

Quaternion.Distance Method

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

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static double Distance(
	Quaternion p,
	Quaternion q
)

VB

Public Shared Function Distance ( 
	p As Quaternion,
	q As Quaternion
) As Double

Parameters

 

p
Type: Rhino.Geometry.Quaternion
A quaternion.
q
Type: Rhino.Geometry.Quaternion
Another quaternion.

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Quaternion Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️