Requirements of a distance class defining a distance between a query item denoting a spatial object and a point. To optimize distance computations transformed distances are used, e.g., for a Euclidean distance the transformed distance is the squared Euclidean distance.
CGAL::Manhattan_distance_iso_box_point<Traits>
CGAL::Euclidean_distance_sphere_point<Traits>.
| |
Number type.
| |
| |
Point type.
| |
| |
Query item type.
|
|
| |
Returns the transformed distance between q and r. | ||
|
| |
Returns the transformed distance between q and the point on the boundary of r closest to q. | ||
|
| |
Returns the transformed distance between q and the point on the boundary of r furthest to q. | ||
|
| Returns the transformed distance. |
|
| |
Returns the inverse of the transformed distance. |