M_Rhino_Geometry_Surface_TryGetTorus_1 - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public bool TryGetTorus(
out Torus torus,
double tolerance
)
VB
Public Function TryGetTorus (
<OutAttribute> ByRef torus As Torus,
tolerance As Double
) As Boolean
- torus
- Type: Rhino.Geometry.Torus
On success, the torus parameters are filled in. - tolerance
- Type: System.Double
tolerance to use when checking.
Type: Boolean
true if the surface is a portion of a torus.
Supported in: 6.0.16224.21491, 5D58w