The class Euclidean_distance_sphere_point<Traits> provides an implementation of the GeneralDistance concept for the Euclidean distance ( metric) between a -dimensional sphere and a point, and the Euclidean distance between a -dimensional sphere and a -dimensional iso-rectangle defined as a - 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 . | ||||
|
| |||
Returns . |