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