Periodic construct_point_2 must have access to the base construct_point_2 operator()

This commit is contained in:
Mael Rouxel-Labbé 2017-05-01 16:16:41 +02:00
parent 5990db5557
commit b43fbe10b4
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ public:
Periodic_2_construct_point_2(const Iso_rectangle_2 & dom) : _dom(dom) { }
using Construct_point_3_base::operator();
Point operator() ( const Point& p, const Offset& o ) const
{
return Point(p.x() + (_dom.xmax() - _dom.xmin()) * o.x(),