# compare_signed_distance_to_line

## CGAL::compare_signed_distance_to_line

Comparison_result

compare_signed_distance_to_line ( | Line_2<Kernel> l, Point_2<Kernel> p, Point_2<Kernel> q)

|  | returns LARGER iff the signed distance of p and l is larger than the signed distance of q and l, SMALLER, iff it is smaller, and EQUAL iff both are equal.

Comparison_result

compare_signed_distance_to_line ( | Point_2<Kernel> p, Point_2<Kernel> q, Point_2<Kernel> r, Point_2<Kernel> s)

|  | returns LARGER iff the signed distance of r and l is larger than the signed distance of s and l, SMALLER, iff it is smaller, and EQUAL iff both are equal, where l is the directed line through p and q.

### See Also

CGAL::compare_distance_to_point
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