Click or drag to resize
SurfaceTryGetCylinder Method (Cylinder, Double)
Tests a surface to see if it is a portion of a cylinder and return the cylinder.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool TryGetCylinder(
	out Cylinder cylinder,
	double tolerance
)

Parameters

cylinder
Type: Rhino.GeometryCylinder
On success, the cylinder 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 cylinder.
See Also