add operator for weighted point

required by ostream export
on the behalf of @afabri
This commit is contained in:
Sébastien Loriot 2016-04-14 09:49:01 +02:00 committed by Jane Tournois
parent 5e8c2e8631
commit 2e2e94727e
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ public:
p.z()+(_dom.zmax()-_dom.zmin())*o.z());
}
const typename K::Point_3&
operator()(const typename K::Weighted_point_3 & p) const
{ return p.rep().point(); }
private:
Iso_cuboid_3 _dom;
};