Sphere.Rotate Method (Double, Double, Vector3d, Point3d)

SphereRotate Method (Double, 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 sinAngle,
	double cosAngle,
	Vector3d axisOfRotation,
	Point3d centerOfRotation
)
Public Function Rotate ( 
	sinAngle As Double,
	cosAngle As Double,
	axisOfRotation As Vector3d,
	centerOfRotation As Point3d
) As Boolean

Parameters

sinAngle
Type: SystemDouble
sin(angle)
cosAngle
Type: SystemDouble
cod(angle)
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