Transform.Rotation Method (Double, Point3d)

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
)
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: 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.8
See Also