mirror of https://github.com/CGAL/cgal
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:
parent
2cc5234887
commit
475f890149
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue