Function distance_map_within_weighted

Source
pub fn distance_map_within_weighted(
    region: &[Polygon],
    barriers: &[Vec<Point2>],
    weighted: &[(Point2, f64)],
    budget: usize,
) -> Result<DistanceMap, MapError>
Expand description

distance_map_weighted with a caller-chosen vertex budget.

ยงErrors

As distance_map_weighted, with budget for MAX_VERTICES.