Click or drag to resize
TransformRotation Method (Double, Vector3d, Point3d)
Constructs a new rotation transformation with specified angle, rotation center and rotation axis.

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

Parameters

angleRadians
Type: SystemDouble
Angle (in Radians) of the rotation.
rotationAxis
Type: Rhino.GeometryVector3d
Axis direction of rotation operation.
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.
See Also