build_paths_and_chunks

Function build_paths_and_chunks 

Source
pub fn build_paths_and_chunks<P: FullXY>(
    vector_polygons: &[Vec<Vec<P>>],
    ring_intersect_lookup: &mut RingIntersectionLookup,
) -> (Vec<PolyPathRef<P>>, BTreeMap<usize, PolyPathRef<P>>, Vec<RingChunkRef<P>>, InterPointLookup<P>, Vec<BBox>)
Expand description

Build the PolyPaths and PolyChunks

§Parameters

  • vector_polygons: the collection of polygons
  • ring_intersect_lookup: the ring intersection lookup for all rings in the multipolygon collection

§Returns

The PolyPaths, their lookups, and PolyChunks