RhinoCommon API
TransformPlaneToPlane Method |
Create a rotation transformation that orients plane0 to plane1. If you want to orient objects from
one plane to another, use this form of transformation.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Transform PlaneToPlane( Plane plane0, Plane plane1 )
Public Shared Function PlaneToPlane ( plane0 As Plane, plane1 As Plane ) As Transform
Parameters
- plane0
- Type: Rhino.GeometryPlane
The plane to orient from. - plane1
- Type: Rhino.GeometryPlane
the plane to orient to.
Return Value
Type: TransformThe translation transformation if successful, Transform.Unset on failure.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14