![]()  | 
The class Euclidean_distance_sphere_point<Traits> provides an implementation of the GeneralDistance concept for the Euclidean distance (l2 metric) between a d-dimensional sphere and a point, and the Euclidean distance between a d-dimensional sphere and a d-dimensional iso-rectangle 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 d2. | 
| 
         | 
         | |
| Returns d1/2. | ||