M_Rhino_Geometry_Transform_Rotation_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new rotation transformation with specified angle and rotation center.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Transform Rotation(
double angleRadians,
Point3d rotationCenter
)
VB
Public Shared Function Rotation (
angleRadians As Double,
rotationCenter As Point3d
) As Transform
- angleRadians
- Type: System.Double
Angle (in Radians) of the rotation. - rotationCenter
- Type: Rhino.Geometry.Point3d
Center point of rotation. Rotation axis is vertical.
Type: Transform
A transformation matrix which rotates geometry around an anchor point.
Supported in: 6.0.16224.21491, 5D58w
Transform Structure
Rotation Overload
Rhino.Geometry Namespace