Skip to main content

check_arc_polygon

Function check_arc_polygon 

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

Exact validity of an arc polygon: rings simple, holes nested.

See the module documentation for what is decided. tolerance only feeds validate_arc_ring. Nesting is checked only when every ring passes it and has no self-contact.