CGAL 5.4.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::compare_distance_to_point()
CGAL::compare_signed_distance_to_line()
CGAL::compare_signed_distance_to_plane()
CGAL::has_larger_distance_to_point()
CGAL::has_larger_signed_distance_to_line()
CGAL::has_larger_signed_distance_to_plane()
CGAL::has_smaller_distance_to_point()
CGAL::has_smaller_signed_distance_to_line()
CGAL::has_smaller_signed_distance_to_plane()

Functions

template<typename Kernel >
Comparison_result CGAL::compare_squared_distance (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const typename Kernel::FT &d2)
 compares the squared distance of points p and q to d2.
 
template<typename Kernel >
Comparison_result CGAL::compare_squared_distance (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const typename Kernel::FT &d2)
 compares the squared distance of points p and q to d2.