Click or drag to resize

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)
Syntax
public static Transform Rotation(
	Vector3d x0,
	Vector3d y0,
	Vector3d z0,
	Vector3d x1,
	Vector3d y1,
	Vector3d z1
)

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: Transform
A rotation transformation value.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also