M_Rhino_Geometry_Surface_TryGetSphere_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.TryGetSphere Method (Sphere, Double)

Test a surface to see if it is a portion of a sphere and return the sphere.

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

Syntax

C#

public bool TryGetSphere(
	out Sphere sphere,
	double tolerance
)

VB

Public Function TryGetSphere ( 
	<OutAttribute> ByRef sphere As Sphere,
	tolerance As Double
) As Boolean

Parameters

 

sphere
Type: Rhino.Geometry.Sphere
On success, the sphere parameters are filled in.
tolerance
Type: System.Double
tolerance to use when checking.

Return Value

Type: Boolean
true if the surface is a portion of a sphere.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
TryGetSphere Overload
Rhino.Geometry Namespace

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