RhinoCommon API
TransformRotation Method (Vector3d, Vector3d, Vector3d, Vector3d, Vector3d, Vector3d) |
Constructs a transformation that maps X0 to X1, Y0 to Y1, Z0 to Z1.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Transform Rotation( Vector3d x0, Vector3d y0, Vector3d z0, Vector3d x1, Vector3d y1, Vector3d z1 )
Public Shared Function Rotation ( x0 As Vector3d, y0 As Vector3d, z0 As Vector3d, x1 As Vector3d, y1 As Vector3d, z1 As Vector3d ) As Transform
Parameters
- x0
- Type: Rhino.GeometryVector3d
First "from" vector. - y0
- Type: Rhino.GeometryVector3d
Second "from" vector. - z0
- Type: Rhino.GeometryVector3d
Third "from" vector. - x1
- Type: Rhino.GeometryVector3d
First "to" vector. - y1
- Type: Rhino.GeometryVector3d
Second "to" vector. - z1
- Type: Rhino.GeometryVector3d
Third "to" vector.
Return Value
Type: TransformA rotation transformation value.

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