Sphere.Rotate Method (Double, Vector3d, Point3d)

SphereRotate Method (Double, Vector3d, Point3d)

Rotates this sphere about a point and an axis.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Rotate(
	double angleRadians,
	Vector3d axisOfRotation,
	Point3d centerOfRotation
)
Public Function Rotate ( 
	angleRadians As Double,
	axisOfRotation As Vector3d,
	centerOfRotation As Point3d
) As Boolean

Parameters

angleRadians
Type: SystemDouble
Rotation angle (in Radians)
axisOfRotation
Type: Rhino.GeometryVector3d
Axis of rotation.
centerOfRotation
Type: Rhino.GeometryPoint3d
Center of rotation.

Return Value

Type: Boolean
true on success; false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also