M_Rhino_Geometry_Transform_Rotation_2 - mcneel/rhinocommon-api-docs GitHub Wiki

Transform.Rotation Method (Double, Point3d)

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

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Transform Rotation(
	double angleRadians,
	Point3d rotationCenter
)

VB

Public Shared Function Rotation ( 
	angleRadians As Double,
	rotationCenter As Point3d
) As Transform

Parameters

 

angleRadians
Type: System.Double
Angle (in Radians) of the rotation.
rotationCenter
Type: Rhino.Geometry.Point3d
Center point of rotation. Rotation axis is vertical.

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Transform Structure
Rotation Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️