Trait geo::algorithm::hausdorff_distance::HausdorffDistance
source · 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§
fn hausdorff_distance<Rhs>(&self, rhs: &Rhs) -> Twhere
Rhs: CoordsIter<Scalar = T>,
Object Safety§
This trait is not object safe.