The class Euclidean_distance_sphere_point<Traits> provides an implementation of the GeneralDistance concept for the Euclidean distance ($$l_{2} metric) between a $$ddimensional sphere and a point, and the Euclidean distance between a $$ddimensional sphere and a $$ddimensional isorectangle defined as a $$k$$d tree rectangle.
#include <CGAL/Euclidean_distance_sphere_point.h>

 Number type. 

 Point type. 

 Query item type. 
 
Default constructor.


 
Returns the distance between s and p.  

 
Returns the minimal distance between a point from the sphere s and a point from r.  

 
Returns the maximal distance between the sphere s and a point from r furthest to s.  

 
Returns $$d^{2}.  

 
Returns $$d^{1/2}. 