Surface.TryGetCone Method (Cone, Double)

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)
Syntax
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: Boolean
true if the surface is a portion of a cone.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also