M_Rhino_Geometry_Quaternion_Invert - mcneel/rhinocommon-api-docs GitHub Wiki

Quaternion.Invert Method

Modifies this quaternion to become (a/L2, -b/L2, -c/L2, -d/L2),

where L2 = length squared = (aa + bb + cc + dd).

This is the multiplicative inverse, i.e., (a,b,c,d)*(a/L2, -b/L2, -c/L2, -d/L2) = (1,0,0,0).

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

Syntax

C#

public bool Invert()

VB

Public Function Invert As Boolean

Return Value

Type: Boolean
true if successful. false if the quaternion is zero and cannot be inverted.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Quaternion Structure
Rhino.Geometry Namespace

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