QuaternionRotation Method (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.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static Quaternion Rotation(
Plane plane0,
Plane plane1
)
Public Shared Function Rotation (
plane0 As Plane,
plane1 As Plane
) As Quaternion
Parameters
- plane0
- Type: Rhino.GeometryPlane
The first plane. - plane1
- Type: Rhino.GeometryPlane
The second plane.
Return Value
Type:
QuaternionA quaternion value.
RemarksThe plane origins are ignored
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also