Added workaround for VC7 which has problems with distinghuishing the operator for three points in case of the Regular_triangulation

This commit is contained in:
Andreas Fabri 2006-01-25 09:45:34 +00:00
parent 2cc5234887
commit 475f890149
1 changed files with 20 additions and 1 deletions

View File

@ -34,14 +34,33 @@ class SF_Orientation_2
: public K_base::Orientation_2
{
typedef typename K_base::Point_2 Point_2;
typedef typename K_base::Vector_2 Vector_2;
typedef typename K_base::Circle_2 Circle_2;
typedef typename K_base::Orientation_2 Base;
public:
using Base::operator();
typedef typename Base::result_type result_type;
#ifndef CGAL_CFG_MATCHING_BUG_6
using Base::operator();
#else
result_type
operator()(const Vector_2& u, const Vector_2& v) const
{
return Base::operator()(u,v);
}
result_type
operator()(const Circle_2& c) const
{
return Base::operator()(c);
}
#endif
Orientation
operator()(const Point_2 &p, const Point_2 &q, const Point_2 &r) const
{
CGAL_PROFILER("Orientation_2 calls");