Click or drag to resize

Transform2dRotation Method (Double, Point2d)

Constructs a new rotation transformation with a specified rotation center.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static Transform2d Rotation(
	double angleRadians,
	Point2d rotationCenter
)

Parameters

angleRadians
Type: SystemDouble
Angle, in radians, of the rotation. A positive angle rotates the X axis towards the Y axis.
rotationCenter
Type: Rhino.GeometryPoint2d
The fixed point of the rotation.

Return Value

Type: Transform2d
A rotation transformation, or Transform2d.Nan if the input is not valid.
See Also