M_Rhino_Geometry_Sphere_Rotate_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Sphere.Rotate Method (Double, Vector3d, Point3d)

Rotates this sphere about a point and an axis.

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

Syntax

C#

public bool Rotate(
	double angleRadians,
	Vector3d axisOfRotation,
	Point3d centerOfRotation
)

VB

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

Parameters

 

angleRadians
Type: System.Double
Rotation angle (in Radians)
axisOfRotation
Type: Rhino.Geometry.Vector3d
Axis of rotation.
centerOfRotation
Type: Rhino.Geometry.Point3d
Center 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** ⚠️