RhinoCommon API
TransformRotation Method (Double, Point3d) |
Constructs a new rotation transformation with specified angle and rotation center.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Transform Rotation( double angleRadians, Point3d rotationCenter )
Public Shared Function Rotation ( angleRadians As Double, rotationCenter As Point3d ) As Transform
Parameters
- angleRadians
- Type: SystemDouble
Angle (in Radians) of the rotation. - rotationCenter
- Type: Rhino.GeometryPoint3d
Center point of rotation. Rotation axis is vertical.
Return Value
Type: TransformA transformation matrix which rotates geometry around an anchor point.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8