15 #ifndef BORNAGAIN_CORE_MASK_ELLIPSE_H
16 #define BORNAGAIN_CORE_MASK_ELLIPSE_H
26 Ellipse(
double xcenter,
double ycenter,
double xradius,
double yradius,
double theta = 0.0);
29 bool contains(
double x,
double y)
const;
Defines basic class for all 2D shapes.
double getCenterY() const
bool contains(double x, double y) const
Returns true if point with given coordinates is inside or on border of the shape.
double getRadiusY() const
double getCenterX() const
Ellipse(double xcenter, double ycenter, double xradius, double yradius, double theta=0.0)
double getRadiusX() const
Basic class for all shapes in 2D.