M_Rhino_Geometry_GeometryBase_Rotate - mcneel/rhinocommon-api-docs GitHub Wiki
Rotates the object about the specified axis. A positive rotation angle results in a counter-clockwise rotation about the axis (right hand rule).
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool Rotate(
double angleRadians,
Vector3d rotationAxis,
Point3d rotationCenter
)
VB
Public Function Rotate (
angleRadians As Double,
rotationAxis As Vector3d,
rotationCenter As Point3d
) As Boolean
- angleRadians
- Type: System.Double
Angle of rotation in radians. - rotationAxis
- Type: Rhino.Geometry.Vector3d
Direction of the axis of rotation. - rotationCenter
- Type: Rhino.Geometry.Point3d
Point on the axis of rotation.
Type: Boolean
true if geometry successfully rotated.
Supported in: 6.0.16224.21491, 5D58w