Skip to main content

difference_multi

Function difference_multi 

Source
pub fn difference_multi<G1, G2, P>(
    g1: &G1,
    g2: &G2,
) -> Result<MultiPolygon<Polygon<P>>, OverlayError>
Expand description

Difference of two multi-polygons — the region inside g1 but not g2.

§Errors

OverlayError::Unsupported when coordinates exceed the predicate range.