Click or drag to resize

TransformRotation Method (Double, Point3d)

Constructs a new rotation transformation with specified angle and rotation center.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Transform Rotation(
	double angleRadians,
	Point3d rotationCenter
)

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: Transform
A transformation matrix which rotates geometry around an anchor point.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also