BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
An ellipse, for use in detector masks. More...
Public Member Functions | |
Ellipse (double xcenter, double ycenter, double xradius, double yradius, double theta=0.0) | |
Ellipse * | clone () const |
bool | contains (const Bin1D &binx, const Bin1D &biny) const |
Returns true if area defined by two bins is inside or on border of ellipse; more precisely, if mid point of two bins satisfy this condition. | |
bool | contains (double x, double y) const |
double | getCenterX () const |
double | getCenterY () const |
double | getRadiusX () const |
double | getRadiusY () const |
double | getTheta () const |
An ellipse, for use in detector masks.