M_Rhino_Geometry_Quaternion_Rotation - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static Quaternion Rotation(
Plane plane0,
Plane plane1
)
VB
Public Shared Function Rotation (
plane0 As Plane,
plane1 As Plane
) As Quaternion
- plane0
- Type: Rhino.Geometry.Plane
The first plane. - plane1
- Type: Rhino.Geometry.Plane
The second plane.
Type: Quaternion
A quaternion value.
The plane origins are ignored
Supported in: 6.0.16224.21491, 5D58w
Quaternion Structure
Rotation Overload
Rhino.Geometry Namespace