Geometry::get_distance now works with points instead of rectangles.