BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
FormFactorBox Class Reference

A rectangular prism (parallelepiped). More...

+ Inheritance diagram for FormFactorBox:

Public Member Functions

 FormFactorBox (const std::vector< double > P)
 
 FormFactorBox (double length, double width, double height)
 
void accept (INodeVisitor *visitor) const final
 
FormFactorBoxclone () const final
 
complex_t evaluate_for_q (cvector_t q) const final
 
double getLength () const
 
double getWidth () const
 
double radialExtension () const final
 
double volume () const final
 

Protected Member Functions

double height () const final
 
void onChange () final
 
IFormFactor * sliceFormFactor (ZLimits limits, const IRotation &rot, kvector_t translation) const final
 

Detailed Description

A rectangular prism (parallelepiped).