CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel: Kernel_23/MyConstruct_bbox_2.h

CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
Kernel_23/MyConstruct_bbox_2.h
#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
CGAL::Bbox_2
An object b of the class Bbox_2 is a bounding box in the two-dimensional Euclidean plane .
Definition: Bbox_2.h:16