M_Rhino_Geometry_Surface_TryGetTorus_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.TryGetTorus Method (Torus, Double)

Tests a surface to see if it is a portion of a torus and returns the torus.

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

Syntax

C#

public bool TryGetTorus(
	out Torus torus,
	double tolerance
)

VB

Public Function TryGetTorus ( 
	<OutAttribute> ByRef torus As Torus,
	tolerance As Double
) As Boolean

Parameters

 

torus
Type: Rhino.Geometry.Torus
On success, the torus 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 torus.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
TryGetTorus Overload
Rhino.Geometry Namespace

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