M_Rhino_Geometry_Sphere_Rotate_3 - mcneel/rhinocommon-api-docs GitHub Wiki
Rotates this sphere about a point and an axis.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool Rotate(
double sinAngle,
double cosAngle,
Vector3d axisOfRotation,
Point3d centerOfRotation
)
VB
Public Function Rotate (
sinAngle As Double,
cosAngle As Double,
axisOfRotation As Vector3d,
centerOfRotation As Point3d
) As Boolean
- sinAngle
- Type: System.Double
sin(angle) - cosAngle
- Type: System.Double
cod(angle) - axisOfRotation
- Type: Rhino.Geometry.Vector3d
Axis of rotation. - centerOfRotation
- Type: Rhino.Geometry.Point3d
Center of rotation.
Type: Boolean
true on success; false on failure.
Supported in: 6.0.16224.21491, 5D58w