In mathematics, the Hausdorff distance, or Hausdorff metric, also called Pompeiu–Hausdorff distance, measures how far two subsets of a metric space are from each other. It turns the set of non-emptycompact subsets of a metric space into a metric space in its own right. It is named after Felix Hausdorff.