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)
Since: 5.0
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:
Booleantrue if the surface is a portion of a cone.
See Also