M_Rhino_Geometry_Surface_TryGetTorus - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.TryGetTorus Method (Torus)

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

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

Syntax

C#

public bool TryGetTorus(
	out Torus torus
)

VB

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

Parameters

 

torus
Type: Rhino.Geometry.Torus
On success, the torus parameters are filled in.

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