Quaternion.SetRotation Method (Plane, Plane)
Click or drag to resize

QuaternionSetRotation Method (Plane, Plane)

Sets the quaternion to the unit quaternion which rotates plane0.xaxis to plane1.xaxis, plane0.yaxis to plane1.yaxis, and plane0.zaxis to plane1.zaxis.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetRotation(
	Plane plane0,
	Plane plane1
)

Parameters

plane0
Type: Rhino.GeometryPlane
The "from" rotation plane. Origin point is ignored.
plane1
Type: Rhino.GeometryPlane
The "to" rotation plane. Origin point is ignored.
Remarks
The plane origins are ignored
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also