Function weighted_farthest_point

Source
pub fn weighted_farthest_point(
    map: &WeightedMap,
    subregion: &Polygon,
    tolerance: f64,
) -> Result<Farthest, FarthestError>
Expand description

The greatest weighted distance from a subregion to the nearest target over its points in the free space, bracketed to within tolerance where the map’s own bracket allows: the result is never narrower than the gap between the map’s bounds at the farthest point.

§Errors

As crate::farthest_point.