52 #ifndef CGAL_PREDICATES_ON_POINTSS2_H
53 #define CGAL_PREDICATES_ON_POINTSS2_H
56 #include <CGAL/SimpleCartesian/PointS2.h>
65 {
return p.
x() == q.
x(); }
71 {
return p.
y() == q.
y(); }
77 {
return (p.
x() == q.
x()) && (p.
y() == q.
y()); }
83 {
return (p.
x() < q.
x()); }
89 {
return (p.
y() < q.
y()); }
103 template <
class FT >
114 template <
class FT >
123 template <
class FT >
132 template <
class FT >
141 template <
class FT >
151 template <
class FT >
160 template <
class FT >
169 template <
class FT >
179 template <
class FT >
191 template <
class FT >
199 (p.
x(),p.
y(),q.
x(),q.
y(),r.
x(),r.
y());
203 template <
class FT >
210 if (!
collinear(p, q, r)) {
return false; }
214 template <
class FT >
222 (p.
x(),p.
y(),q.
x(),q.
y(),r.
x(),r.
y());
226 template <
class FT >
233 if (!
collinear(p, q, r)) {
return false; }
237 template <
class FT >
247 template <
class FT >
258 template <
class FT >
269 template <
class FT >
289 (p.
x(),p.
y(),q.
x(),q.
y(),r.
x(),r.
y(),test.
x(),test.
y());
302 (p.
x(),p.
y(),q.
x(),q.
y(),r.
x(),r.
y(),test.
x(),test.
y());
308 #endif // CGAL_PREDICATES_ON_POINTSS2_H
bool less_x(const PointS2< FT > &p, const PointS2< FT > &q)
CGAL_KERNEL_MEDIUM_INLINE bool collinear_are_strictly_ordered_along_lineC2(const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry)
Comparison_result compare_y(const Point_2< R > &p, const Point_2< R > &q)
Orientation orientationC2(const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry)
const Orientation LEFTTURN
bool equal_xy(const PointS2< FT > &p, const PointS2< FT > &q)
bool lexicographically_xy_smaller(const Point_2< R > &p, const Point_2< R > &q)
Comparison_result compare_deltax_deltayC2(const FT &px, const FT &qx, const FT &ry, const FT &sy)
bool lexicographically_yx_smaller_or_equal(const Point_2< R > &p, const Point_2< R > &q)
bool y_equal(const Point_2< R > &p, const Point_2< R > &q)
Comparison_result compare_deltax_deltay(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r, const Point_2< R > &s)
bool rightturn(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
Comparison_result compare_x(const Point_2< R > &p, const Point_2< R > &q)
Comparison_result compare_lexicographically_xyC2(const FT &px, const FT &py, const FT &qx, const FT &qy)
Oriented_side side_of_oriented_circle(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r, const Point_2< R > &test)
bool lexicographically_xy_smaller_or_equal(const Point_2< R > &p, const Point_2< R > &q)
bool less_y(const PointS2< FT > &p, const PointS2< FT > &q)
bool are_ordered_along_line(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
bool collinear(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
CGAL_KERNEL_LARGE_INLINE Bounded_side side_of_bounded_circleC2(const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &tx, const FT &ty)
bool collinear_are_ordered_along_line(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
bool lexicographically_yx_smaller(const Point_2< R > &p, const Point_2< R > &q)
Orientation orientation(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
bool are_strictly_ordered_along_line(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
CGAL_BEGIN_NAMESPACE bool x_equal(const Point_2< R > &p, const Point_2< R > &q)
CGAL_KERNEL_LARGE_INLINE Oriented_side side_of_oriented_circleC2(const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &tx, const FT &ty)
bool collinear_are_strictly_ordered_along_line(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
Comparison_result compare_lexicographically_xy(const Point_2< R > &p, const Point_2< R > &q)
Comparison_result compare_lexicographically_yx(const Point_2< R > &p, const Point_2< R > &q)
#define CGAL_BEGIN_NAMESPACE
CGAL_KERNEL_INLINE Comparison_result compare(const NT &n1, const NT &n2)
bool leftturn(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
const Orientation RIGHTTURN
const Orientation COLLINEAR
#define CGAL_END_NAMESPACE
CGAL_KERNEL_MEDIUM_INLINE bool collinear_are_ordered_along_lineC2(const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry)
Bounded_side side_of_bounded_circle(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r, const Point_2< R > &test)