M_Rhino_Geometry_Transform_Rotation - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new rotation transformation with start and end directions and rotation center.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Transform Rotation(
Vector3d startDirection,
Vector3d endDirection,
Point3d rotationCenter
)
VB
Public Shared Function Rotation (
startDirection As Vector3d,
endDirection As Vector3d,
rotationCenter As Point3d
) As Transform
- startDirection
- Type: Rhino.Geometry.Vector3d
A start direction. - endDirection
- Type: Rhino.Geometry.Vector3d
An end direction. - rotationCenter
- Type: Rhino.Geometry.Point3d
A rotation center.
Type: Transform
A transformation matrix which rotates geometry around an anchor point.
Supported in: 6.0.16224.21491, 5D58w
Transform Structure
Rotation Overload
Rhino.Geometry Namespace