polygons_intersections_ref

Function polygons_intersections_ref 

Source
pub fn polygons_intersections_ref<P: GetXY + PartialEq>(
    vector_polygons: &[&Vec<Vec<P>>],
    include_self_intersections: bool,
) -> Vec<Intersection>
Expand description

Find all intersections within a collection of polygons where each polygon is their own ref.

NOTE: Use polygons_intersections instead if you are referencing a full VectorMultiPolygon instead

§Parameters

  • polygons: the collection of polygons
  • include_self_intersections: whether to include self intersections or not

§Returns

Found intersections