Add a bench which only compares coordinates

This commit is contained in:
Andreas Fabri 2011-03-16 11:22:47 +00:00
parent e89ff5ba71
commit cbf54d65d8
1 changed files with 10 additions and 0 deletions

View File

@ -11,7 +11,17 @@
typedef CGAL::Simple_cartesian<double> K;
typedef K::Point_3 Point_3;
#if 1
typedef CGAL::internal::Static_filters_predicates::Orientation_3_benchmark<Point_3> Predicate;
#else
struct Predicate {
int operator()(const Point_3& p,const Point_3& q,const Point_3& r,const Point_3& s) const
{
return (int)(p < q) + (int)(r<s);
}
};
#endif
int main()
{