Overload_Rhino_Geometry_Quaternion_Rotation - mcneel/rhinocommon-api-docs GitHub Wiki

Quaternion.Rotation Method

Overload List

 

Name Description
Public methodStatic member Rotation(Double, Vector3d) Returns the unit quaternion cos(angle/2), sin(angle/2)*x, sin(angle/2)*y, sin(angle/2)*z where (x,y,z) is the unit vector parallel to axis. This is the unit quaternion that represents the rotation of angle about axis.
Public methodStatic member Rotation(Plane, Plane) Returns the unit quaternion that represents the the rotation that maps plane0.xaxis to plane1.xaxis, plane0.yaxis to plane1.yaxis, and plane0.zaxis to plane1.zaxis.
  Back to Top

See Also

Reference

Quaternion Structure
Rhino.Geometry Namespace

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