CGAL 5.1 - 2D and 3D Linear Geometry Kernel
CGAL::has_smaller_signed_distance_to_line()

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_plane()

Functions

template<typename Kernel >
bool CGAL::has_smaller_signed_distance_to_line (const CGAL::Line_2< Kernel > &l, const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q)
 returns true iff the signed distance of p and l is smaller than the signed distance of q and l. More...
 
template<typename Kernel >
bool CGAL::has_smaller_signed_distance_to_line (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const CGAL::Point_2< Kernel > &r, const CGAL::Point_2< Kernel > &s)
 returns true iff the signed distance of r and l is smaller than the signed distance of s and l, where l is the oriented line through p and q. More...
 

Function Documentation

◆ has_smaller_signed_distance_to_line() [1/2]

template<typename Kernel >
bool CGAL::has_smaller_signed_distance_to_line ( const CGAL::Line_2< Kernel > &  l,
const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q 
)

#include <CGAL/Kernel/global_functions.h>

returns true iff the signed distance of p and l is smaller than the signed distance of q and l.

◆ has_smaller_signed_distance_to_line() [2/2]

template<typename Kernel >
bool CGAL::has_smaller_signed_distance_to_line ( const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q,
const CGAL::Point_2< Kernel > &  r,
const CGAL::Point_2< Kernel > &  s 
)

#include <CGAL/Kernel/global_functions.h>

returns true iff the signed distance of r and l is smaller than the signed distance of s and l, where l is the oriented line through p and q.