BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Bin1D Struct Reference
Collaboration diagram for Bin1D:

Public Member Functions

 Bin1D ()
 
 Bin1D (double lower, double upper)
 
double getMidPoint () const
 
double getBinSize () const
 

Public Attributes

double m_lower
 
double m_upper
 

Detailed Description

Definition at line 20 of file Bin.h.

Constructor & Destructor Documentation

◆ Bin1D() [1/2]

Bin1D::Bin1D ( )
inline

Definition at line 21 of file Bin.h.

21 : m_lower(0), m_upper(0) {}
double m_upper
upper bound of the bin
Definition: Bin.h:24
double m_lower
lower bound of the bin
Definition: Bin.h:23

◆ Bin1D() [2/2]

Bin1D::Bin1D ( double  lower,
double  upper 
)
inline

Definition at line 22 of file Bin.h.

22 : m_lower(lower), m_upper(upper) {}

Member Function Documentation

◆ getMidPoint()

◆ getBinSize()

double Bin1D::getBinSize ( ) const
inline

Member Data Documentation

◆ m_lower

◆ m_upper


The documentation for this struct was generated from the following file: