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
)
Public Shared Function Rotation (
startDirection As Vector3d,
endDirection As Vector3d,
rotationCenter As Point3d
) As Transform
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:
TransformA rotation transformation matrix.
See Also