Skip to main content

intersection_multi

Function intersection_multi 

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

Intersection of two multi-polygons — the region inside both.

§Errors

OverlayError::Unsupported when coordinates exceed the predicate range.