51 #ifndef CGAL_PREDICATES_ON_POINTS_2_H
52 #define CGAL_PREDICATES_ON_POINTS_2_H
54 #ifndef CGAL_REP_CLASS_DEFINED
55 #error no representation class defined
56 #endif // CGAL_REP_CLASS_DEFINED
58 #ifdef CGAL_HOMOGENEOUS_H
59 #ifndef CGAL_PREDICATES_ON_POINTSH2_H
60 #include <CGAL/predicates_on_pointsH2.h>
61 #endif // CGAL_PREDICATES_ON_POINTSH2_H
62 #endif // CGAL_HOMOGENEOUS_H
64 #ifdef CGAL_CARTESIAN_H
65 #ifndef CGAL_PREDICATES_ON_POINTSC2_H
66 #include <CGAL/Cartesian/predicates_on_points_2.h>
67 #endif // CGAL_PREDICATES_ON_POINTSC2_H
68 #endif // CGAL_CARTESIAN_H
70 #ifdef CGAL_SIMPLE_CARTESIAN_H
72 #endif // CGAL_SIMPLE_CARTESIAN_H
75 #ifndef CGAL_POINT_2_H
77 #endif // CGAL_POINT_2_H
86 typedef typename R::Point_2_base RPoint_2;
87 return x_equal((
const RPoint_2&)p, (
const RPoint_2&)q);
95 typedef typename R::Point_2_base RPoint_2;
96 return y_equal((
const RPoint_2&)p, (
const RPoint_2&)q);
105 typedef typename R::Point_2_base RPoint_2;
106 return compare_x((
const RPoint_2&)p, (
const RPoint_2&)q);
114 typedef typename R::Point_2_base RPoint_2;
115 return compare_y((
const RPoint_2&)p, (
const RPoint_2&)q);
126 typedef typename R::Point_2_base RPoint_2;
139 typedef typename R::Point_2_base RPoint_2;
150 typedef typename R::Point_2_base RPoint_2;
161 typedef typename R::Point_2_base RPoint_2;
172 typedef typename R::Point_2_base RPoint_2;
183 typedef typename R::Point_2_base RPoint_2;
195 typedef typename R::Point_2_base RPoint_2;
206 typedef typename R::Point_2_base RPoint_2;
217 typedef typename R::Point_2_base RPoint_2;
228 typedef typename R::Point_2_base RPoint_2;
239 typedef typename R::Point_2_base RPoint_2;
251 typedef typename R::Point_2_base RPoint_2;
264 typedef typename R::Point_2_base RPoint_2;
277 typedef typename R::Point_2_base RPoint_2;
289 typedef typename R::Point_2_base RPoint_2;
302 typedef typename R::Point_2_base RPoint_2;
305 (
const RPoint_2&)r));
315 typedef typename R::Point_2_base RPoint_2;
328 typedef typename R::Point_2_base RPoint_2;
341 typedef typename R::Point_2_base RPoint_2;
342 return rightturn(o, (
const RPoint_2&)q, (
const RPoint_2&)r);
352 typedef typename R::Point_2_base RPoint_2;
366 typedef typename R::Point_2_base RPoint_2;
370 (
const RPoint_2&)test);
381 typedef typename R::Point_2_base RPoint_2;
385 (
const RPoint_2&)test);
391 #endif // CGAL_PREDICATES_ON_POINTS_2_H
Comparison_result compare_y(const Point_2< R > &p, const Point_2< R > &q)
bool lexicographically_xy_larger_or_equal(const Point_2< R > &p, const Point_2< R > &q)
bool lexicographically_xy_larger(const Point_2< R > &p, const Point_2< R > &q)
bool lexicographically_xy_smaller(const Point_2< R > &p, const Point_2< R > &q)
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)
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 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)
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)
bool collinear_are_strictly_ordered_along_line(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
bool lexicographically_yx_larger_or_equal(const Point_2< R > &p, const Point_2< R > &q)
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
bool lexicographically_yx_larger(const Point_2< R > &p, const Point_2< R > &q)
bool leftturn(const Point_2< R > &p, const Point_2< R > &q, const Point_2< R > &r)
#define CGAL_END_NAMESPACE
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)