mirror of https://github.com/CGAL/cgal
Periodic construct_point_2 must have access to the base construct_point_2 operator()
This commit is contained in:
parent
5990db5557
commit
b43fbe10b4
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue