Click or drag to resize
TransformRotation Method (Double, 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 sinAngle,
	double cosAngle,
	Vector3d rotationAxis,
	Point3d rotationCenter
)

Parameters

sinAngle
Type: SystemDouble
Sin of the rotation angle.
cosAngle
Type: SystemDouble
Cos of the rotation angle.
rotationAxis
Type: Rhino.GeometryVector3d
Axis direction of rotation.
rotationCenter
Type: Rhino.GeometryPoint3d
Center point of rotation.

Return Value

Type: Transform
A transformation matrix which rotates geometry around an anchor point.
See Also