M_Rhino_Geometry_Surface_TryGetCylinder_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.TryGetCylinder 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: Rhino 6.0

Syntax

C#

public bool TryGetCylinder(
	out Cylinder cylinder,
	double tolerance
)

VB

Public Function TryGetCylinder ( 
	<OutAttribute> ByRef cylinder As Cylinder,
	tolerance As Double
) As Boolean

Parameters

 

cylinder
Type: Rhino.Geometry.Cylinder
On success, the cylinder parameters are filled in.
tolerance
Type: System.Double
tolerance to use when checking.

Return Value

Type: Boolean
true if the surface is a portion of a cylinder.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
TryGetCylinder Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️