pub fn distance_2d(left: Point2, right: Point2) -> f64
Returns the Euclidean distance between two 2D points.