BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Box.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/Shapes/Box.h
6 //! @brief Defines class Box.
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_BOX_H
21 #define BORNAGAIN_SAMPLE_SHAPES_BOX_H
22 
23 #include "Sample/Shapes/IShape3D.h"
24 
25 class Box : public IShape3D {
26 public:
27  Box(double length, double width, double height);
28  ~Box();
29 };
30 
31 #endif // BORNAGAIN_SAMPLE_SHAPES_BOX_H
32 #endif // USER_API
Defines interface IShape3D.
Definition: Box.h:25
~Box()
Box(double length, double width, double height)
Definition: Box.cpp:19
Abstract base class for different shapes.
Definition: IShape3D.h:33