Click or drag to resize

TransformRotation Method (Vector3d, Vector3d, Point3d)

Constructs a new rotation transformation with start and end directions and rotation center.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Transform Rotation(
	Vector3d startDirection,
	Vector3d endDirection,
	Point3d rotationCenter
)

Parameters

startDirection
Type: Rhino.GeometryVector3d
A start direction.
endDirection
Type: Rhino.GeometryVector3d
An end direction.
rotationCenter
Type: Rhino.GeometryPoint3d
3D center of rotation.

Return Value

Type: Transform
A rotation transformation matrix.
See Also