M_Rhino_Geometry_Surface_TryGetCylinder_1 - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public bool TryGetCylinder(
out Cylinder cylinder,
double tolerance
)
VB
Public Function TryGetCylinder (
<OutAttribute> ByRef cylinder As Cylinder,
tolerance As Double
) As Boolean
- cylinder
- Type: Rhino.Geometry.Cylinder
On success, the cylinder parameters are filled in. - tolerance
- Type: System.Double
tolerance to use when checking.
Type: Boolean
true if the surface is a portion of a cylinder.
Supported in: 6.0.16224.21491, 5D58w
Surface Class
TryGetCylinder Overload
Rhino.Geometry Namespace