BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
DoubleEllipse.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/Shapes/DoubleEllipse.h
6 //! @brief Defines class DoubleEllipse.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_SHAPES_DOUBLEELLIPSE_H
21 #define BORNAGAIN_SAMPLE_SHAPES_DOUBLEELLIPSE_H
22 
23 #include "Sample/Shapes/IShape3D.h"
24 
25 class DoubleEllipseZ : public IShape3D {
26 public:
27  DoubleEllipseZ(double r0_x, double r0_y, double z, double rz_x, double rz_y);
28  ~DoubleEllipseZ() override;
29 };
30 
31 class DoubleEllipseX : public IShape3D {
32 public:
33  DoubleEllipseX(double x1, double r1_y, double r1_z, double z1_b, double z1_t, double x2,
34  double r2_y, double r2_z, double z2_b, double z2_t);
35  ~DoubleEllipseX() override;
36 };
37 #endif // BORNAGAIN_SAMPLE_SHAPES_DOUBLEELLIPSE_H
38 #endif // USER_API
Defines interface IShape3D.
DoubleEllipseX(double x1, double r1_y, double r1_z, double z1_b, double z1_t, double x2, double r2_y, double r2_z, double z2_b, double z2_t)
~DoubleEllipseX() override
DoubleEllipseZ(double r0_x, double r0_y, double z, double rz_x, double rz_y)
~DoubleEllipseZ() override
Abstract base class for different shapes.
Definition: IShape3D.h:31