Fix Mesh_3

This commit is contained in:
Andreas Fabri
2016-11-03 13:08:31 +01:00
committed by Jane Tournois
parent 468e861a96
commit 59cedfc7dd
16 changed files with 106 additions and 58 deletions
@@ -3008,6 +3008,11 @@ namespace CartesianKernelFunctors {
typedef const Point_3& type;
};
template<typename F>
struct result<F(Point_3)> {
typedef const Point_3& type;
};
Rep // Point_3
operator()(Return_base_tag, Origin o) const
@@ -3021,6 +3026,10 @@ namespace CartesianKernelFunctors {
operator()(Return_base_tag, const RT& x, const RT& y, const RT& z, const RT& w) const
{ return Rep(x, y, z, w); }
const Point_3&
operator()(const Point_3 & p) const
{ return p; }
const Point_3&
operator()(const Weighted_point_3 & p) const
{ return p.rep().point(); }