M_Rhino_Geometry_Quaternion_GetRotation_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Returns the rotation defined by the quaternion.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool GetRotation(
out double angle,
out Vector3d axis
)
VB
Public Function GetRotation (
<OutAttribute> ByRef angle As Double,
<OutAttribute> ByRef axis As Vector3d
) As Boolean
- angle
- Type: System.Double
An angle in radians. - axis
- Type: Rhino.Geometry.Vector3d
unit axis of rotation of 0 if (b,c,d) is the zero vector.
Type: Boolean
True if the operation succeeded; otherwise, false.
If the quaternion is not unitized, the rotation of its unitized form is returned.
Supported in: 6.0.16224.21491, 5D58w
Quaternion Structure
GetRotation Overload
Rhino.Geometry Namespace