GeometryBaseRotate Method |
Rhino 5 for Windows
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.GeometryAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntaxpublic bool Rotate(
double angleRadians,
Vector3d rotationAxis,
Point3d rotationCenter
)
Public Function Rotate (
angleRadians As Double,
rotationAxis As Vector3d,
rotationCenter As Point3d
) As Boolean
Parameters
- angleRadians
- Type: SystemDouble
Angle of rotation in radians. - rotationAxis
- Type: Rhino.GeometryVector3d
Direction of the axis of rotation. - rotationCenter
- Type: Rhino.GeometryPoint3d
Point on the axis of rotation.
Return Value
Type:
Booleantrue if geometry successfully rotated.
See Also