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.
RhinoCommon (in RhinoCommon.dll)
public bool GetRotation(
out Transform xform
Public Function GetRotation (
<OutAttribute> ByRef xform As Transform
) As Boolean
- Type: Rhino.GeometryTransform
true if successful, false otherise.
Do not confuse the result of this method the transformation matrix returned by MatrixForm