M_Rhino_Geometry_Sphere_Rotate_2 - mcneel/rhinocommon-api-docs GitHub Wiki

Sphere.Rotate Method (Double, Double, Vector3d)

Rotates this sphere about the center point.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

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

Parameters

 

sinAngle
Type: System.Double
sin(angle)
cosAngle
Type: System.Double
cos(angle)
axisOfRotation
Type: Rhino.Geometry.Vector3d
The direction of the axis of rotation.

Return Value

Type: Boolean
true on success; false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Sphere Structure
Rotate Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️