M_Rhino_Geometry_Transform_Rotation_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a transformation that maps X0 to X1, Y0 to Y1, Z0 to Z1.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Transform Rotation(
Vector3d x0,
Vector3d y0,
Vector3d z0,
Vector3d x1,
Vector3d y1,
Vector3d z1
)
VB
Public Shared Function Rotation (
x0 As Vector3d,
y0 As Vector3d,
z0 As Vector3d,
x1 As Vector3d,
y1 As Vector3d,
z1 As Vector3d
) As Transform
- x0
- Type: Rhino.Geometry.Vector3d
First "from" vector. - y0
- Type: Rhino.Geometry.Vector3d
Second "from" vector. - z0
- Type: Rhino.Geometry.Vector3d
Third "from" vector. - x1
- Type: Rhino.Geometry.Vector3d
First "to" vector. - y1
- Type: Rhino.Geometry.Vector3d
Second "to" vector. - z1
- Type: Rhino.Geometry.Vector3d
Third "to" vector.
Type: Transform
A rotation transformation value.
Supported in: 6.0.16224.21491, 5D58w
Transform Structure
Rotation Overload
Rhino.Geometry Namespace