15 #ifndef BORNAGAIN_CORE_HARDPARTICLE_FORMFACTORBOX_H
16 #define BORNAGAIN_CORE_HARDPARTICLE_FORMFACTORBOX_H
36 double getLength()
const {
return m_length; }
37 double getWidth()
const {
return m_width; }
39 double volume() const override final {
return m_length * m_height * m_width; }
45 kvector_t translation)
const override final;
48 double height() const final {
return m_height; }
51 const double& m_length;
52 const double& m_width;
53 const double& m_height;
Visitor interface to visit ISample objects.
Pure virtual interface for rotations.
Class that contains upper and lower limits of the z-coordinate for the slicing of form factors.