pub trait HausdorffDistance<T>
where T: GeoFloat,
{ // Required method fn hausdorff_distance<Rhs>(&self, rhs: &Rhs) -> T where Rhs: CoordsIter<Scalar = T>; }
Expand description

Determine the distance between two geometries using the Hausdorff distance formula.

Hausdorff distance is used to compare two point sets. It measures the maximum euclidean distance of a point in one set to the nearest point in another set. Hausdorff distance is often used to measure the amount of mismatch between two sets.

Required Methods§

source

fn hausdorff_distance<Rhs>(&self, rhs: &Rhs) -> T
where Rhs: CoordsIter<Scalar = T>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> HausdorffDistance<T> for Coord<T>
where T: GeoFloat,

source§

impl<T, G> HausdorffDistance<T> for G
where T: GeoFloat, G: CoordsIter<Scalar = T>,