RhinoCommon API
SurfaceTryGetCone Method (Cone, Double) |
Tests a surface to see if it is a portion of a cone and returns the cone.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool TryGetCone( out Cone cone, double tolerance )
Public Function TryGetCone ( <OutAttribute> ByRef cone As Cone, tolerance As Double ) As Boolean
Parameters
- cone
- Type: Rhino.GeometryCone
On success, the cone parameters are filled in. - tolerance
- Type: SystemDouble
tolerance to use when checking.
Return Value
Type: Booleantrue if the surface is a portion of a cone.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8