Files
cgal/Kernel_23/examples/Kernel_23/MyConstruct_bbox_2.h
T
Sébastien Loriot 13781476af split MyPointC2.h into several .h files so that we can use
those files and avoid the doc to be not in sync with
examples.
2011-01-18 17:04:26 +00:00

16 lines
336 B
C++

#ifndef MYCONSTRUCT_BBOX_2_H
#define MYCONSTRUCT_BBOX_2_H
template <class ConstructBbox_2>
class MyConstruct_bbox_2 : public ConstructBbox_2 {
public:
using ConstructBbox_2::operator();
CGAL::Bbox_2 operator()(const MyPointC2& p) const {
return CGAL::Bbox_2(p.x(), p.y(), p.x(), p.y());
}
};
#endif //MYCONSTRUCT_BBOX_2_H