polygons_intersections_lookup

Function polygons_intersections_lookup 

Source
pub fn polygons_intersections_lookup<P: FullXY>(
    vector_polygons: &[Vec<Vec<P>>],
    segment_filter: Option<impl Fn(&Segment, &Segment) -> bool>,
) -> RingIntersectionLookup
Expand description

Run through the vector_polygons and Builds the ring intersection lookup

§Parameters

  • vector_polygons: the collection of polygons

§Returns

The ring intersection lookup for all rings in the multipolygon collection