16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_DEVICE_MASK_INFINITEPLANE_H
21 #define BORNAGAIN_DEVICE_MASK_INFINITEPLANE_H
33 bool contains(
double,
double)
const {
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(const Bin1D &, const Bin1D &) const
Returns true if area defined by two bins is inside or on border of polygon (more precisely,...
InfinitePlane * clone() const
bool contains(double, double) const
Returns true if point with given coordinates is inside or on border of the shape.