M_Rhino_Geometry_Sphere_Rotate - mcneel/rhinocommon-api-docs GitHub Wiki

Sphere.Rotate Method (Double, Vector3d)

Rotates the sphere about the center point.

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

Syntax

C#

public bool Rotate(
	double angleRadians,
	Vector3d axisOfRotation
)

VB

Public Function Rotate ( 
	angleRadians As Double,
	axisOfRotation As Vector3d
) As Boolean

Parameters

 

angleRadians
Type: System.Double
Angle of rotation (in radians)
axisOfRotation
Type: Rhino.Geometry.Vector3d
Rotation axis.

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** ⚠️