Click or drag to resize

QuaternionGetRotation Method (Transform)

Returns a transformation matrix that performs the rotation defined by the quaternion. The transformation returned by this method has the property that xform * V = q.Rotate(V). If the quaternion is not unitized, the rotation of its unitized form is returned.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.12
public bool GetRotation(
	out Transform xform


Type: Rhino.GeometryTransform

Return Value

Type: Boolean
true if successful, false otherise.
Do not confuse the result of this method the transformation matrix returned by MatrixForm.
See Also