Skip to main content

polygon_boolean

Function polygon_boolean 

Source
pub fn polygon_boolean(a: &[Polygon], b: &[Polygon], op: BoolOp) -> Vec<Polygon>
Expand description

Apply op to two polygon sets and return the resulting polygons. Subject = a, clip = b. EvenOdd fill rule so holes and multi-ring inputs survive the round-trip.