Skip to main content

check_arc_polygon_with

Function check_arc_polygon_with 

Source
pub fn check_arc_polygon_with(
    polygon: &ArcPolygon,
    tolerance: Tolerance,
    options: ArcCheckOptions,
) -> ArcPolygonCheck
Expand description

check_arc_polygon with options (#388): the default options are exactly check_arc_polygon; ArcCheckOptions::with_clearance adds the clearance defects.

The clearance check tests the edges of every ring that passes validate_arc_ring, whatever other defects the polygon has, and appends its defects after all others.