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 an Euclidian distance the transformed distance is the squared Euclidean distance.
CGAL::Manhattan_distance_rectangle_point<Traits, IsoBox>
CGAL::Euclidean_distance_sphere_point<Traits, Sphere>.
 
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. 