CGAL 6.3 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches
CGAL::compare_signed_distance_to_line()

Functions

template<typename Kernel>
Comparison_result CGAL::compare_signed_distance_to_line (const CGAL::Line_2< Kernel > &l, const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q)
 returns CGAL::LARGER iff the signed distance of p and l is larger than the signed distance of q and l, CGAL::SMALLER, iff it is smaller, and CGAL::EQUAL iff both are equal.
template<typename Kernel>
Comparison_result CGAL::compare_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 CGAL::LARGER iff the signed distance of r and l is larger than the signed distance of s and l, CGAL::SMALLER, iff it is smaller, and CGAL::EQUAL iff both are equal, where l is the directed line through p and q.