fix the 2D triangulations

This commit is contained in:
Andreas Fabri
2016-11-03 13:08:31 +01:00
committed by Jane Tournois
parent dcf5f32dc0
commit 44d0fa4d6f
5 changed files with 32 additions and 8 deletions
@@ -3065,6 +3065,11 @@ namespace HomogeneousKernelFunctors {
typedef const Point_2& type;
};
template<typename F>
struct result<F(Point_2)> {
typedef const Point_2& type;
};
Rep // Point_2
operator()(Return_base_tag, Origin o) const
{ return Rep(o); }
@@ -3100,6 +3105,10 @@ namespace HomogeneousKernelFunctors {
}
const Point_2&
operator()(const Point_2 & p) const
{ return p; }
const Point_2&
operator()(const Weighted_point_2 & p) const
{ return p.rep().point(); }