mirror of https://github.com/CGAL/cgal
add operator for weighted point
required by ostream export on the behalf of @afabri
This commit is contained in:
parent
5e8c2e8631
commit
2e2e94727e
|
|
@ -47,6 +47,10 @@ public:
|
||||||
p.z()+(_dom.zmax()-_dom.zmin())*o.z());
|
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:
|
private:
|
||||||
Iso_cuboid_3 _dom;
|
Iso_cuboid_3 _dom;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue