M_Rhino_Geometry_Surface_TryGetCylinder - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.TryGetCylinder Method (Cylinder)

Tests a surface to see if it is a portion of a cylinder within RhinoMath.ZeroTolerance and return the cylinder.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool TryGetCylinder(
	out Cylinder cylinder
)

VB

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

Parameters

 

cylinder
Type: Rhino.Geometry.Cylinder
On success, the cylinder parameters are filled in.

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** ⚠️