15 #ifndef BORNAGAIN_CORE_MASK_RECTANGLE_H
16 #define BORNAGAIN_CORE_MASK_RECTANGLE_H
26 Rectangle(
double xlow,
double ylow,
double xup,
double yup);
29 bool contains(
double x,
double y)
const;
Defines basic class for all 2D shapes.
Basic class for all shapes in 2D.
The rectangle shape having its axis aligned to the (non-rotated) coordinate system.
Rectangle * clone() const
Rectangle(double xlow, double ylow, double xup, double yup)
bool contains(double x, double y) const
Returns true if point with given coordinates is inside or on border of the shape.