RhinoCommon API
SphereRotate Method (Double, Double, Vector3d, Point3d) |
Rotates this sphere about a point and an axis.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

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: Booleantrue on success; false on failure.
