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