BornAgain
1.18.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 scattering at grazing incidence
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
#ifndef BORNAGAIN_CORE_SHAPES_BOX_H
16
#define BORNAGAIN_CORE_SHAPES_BOX_H
17
18
#include "
Sample/Shapes/IShape.h
"
19
20
class
Box
:
public
IShape
21
{
22
public
:
23
Box
(
double
length
,
double
width
,
double
height
);
24
~Box
();
25
};
26
27
#endif
// BORNAGAIN_CORE_SHAPES_BOX_H
IShape.h
Defines interface IShape.
Box
Definition:
Box.h:21
Box::~Box
~Box()
Box::Box
Box(double length, double width, double height)
Definition:
Box.cpp:19
IShape
Pure virtual base class for different shapes.
Definition:
IShape.h:29
anonymous_namespace{BoxCompositionBuilder.cpp}::width
const double width
Definition:
BoxCompositionBuilder.cpp:31
anonymous_namespace{BoxCompositionBuilder.cpp}::height
const double height
Definition:
BoxCompositionBuilder.cpp:32
anonymous_namespace{BoxCompositionBuilder.cpp}::length
const double length
Definition:
BoxCompositionBuilder.cpp:30
Sample
Shapes
Box.h
Generated by
1.9.1