Click or drag to resize
SurfaceTryGetTorus 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: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool TryGetTorus(
	out Torus torus,
	double tolerance
)

Parameters

torus
Type: Rhino.GeometryTorus
On success, the torus parameters are filled in.
tolerance
Type: SystemDouble
tolerance to use when checking.

Return Value

Type: Boolean
true if the surface is a portion of a torus.
See Also