Skip to content

M_Rhino_Geometry_GeometryBase_Rotate

Will Pearson edited this page Aug 12, 2016 · 2 revisions

GeometryBase.Rotate Method

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

Syntax

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

Parameters

 

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.

Return Value

Type: Boolean
true if geometry successfully rotated.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

GeometryBase Class
Rhino.Geometry Namespace

Clone this wiki locally