16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_DEVICE_MASK_INFINITEPLANE_H
21 #define BORNAGAIN_DEVICE_MASK_INFINITEPLANE_H
36 bool contains(
double,
double)
const override {
return true; }
Defines basic class for all 2D shapes.
Basic class for all shapes in 2D.
The infinite plane is used for masking the entire detector.
bool contains(double, double) const override
Returns true if point with given coordinates is inside or on border of the shape.
InfinitePlane * clone() const override
bool contains(const Bin1D &, const Bin1D &) const override
Returns true if area defined by two bins is inside or on border of polygon (more precisely,...