PolylineIsClosedWithinTolerance Method |
Determines whether the polyline is closed, provided a tolerance value.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntaxpublic bool IsClosedWithinTolerance(
double tolerance
)
Public Function IsClosedWithinTolerance (
tolerance As Double
) As Boolean
Parameters
- tolerance
- Type: SystemDouble
If the distance between the start and end point of the polyline
is less than tolerance, the polyline is considered to be closed.
Return Value
Type:
Booleantrue if the polyline is closed to within tolerance, false otherwise.
See Also