15 #ifndef BORNAGAIN_CORE_MASK_INFINITEPLANE_H
16 #define BORNAGAIN_CORE_MASK_INFINITEPLANE_H
29 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 everything once and forever.
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.