BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Bin1D Struct Reference

Public Member Functions

 Bin1D ()
 
 Bin1D (double lower, double upper)
 
double binSize () const
 
double center () const
 

Public Attributes

double m_lower
 lower bound of the bin More...
 
double m_upper
 upper bound of the bin More...
 

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

◆ binSize()

double Bin1D::binSize ( ) const
inline

◆ center()

Member Data Documentation

◆ m_lower

◆ m_upper


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