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

A particle with a form factor and refractive index. More...

+ Inheritance diagram for Particle:

Public Member Functions

 Particle (Material material)
 
 Particle (Material material, const IFormFactor &form_factor)
 
 Particle (Material material, const IFormFactor &form_factor, const IRotation &rotation)
 
void accept (INodeVisitor *visitor) const final
 
Particleclone () const final
 
SlicedParticle createSlicedParticle (ZLimits limits) const final
 
std::vector< const INode * > getChildren () const final
 
const Materialmaterial () const final
 
void setMaterial (Material material)
 

Protected Attributes

std::unique_ptr< IFormFactor > m_form_factor
 
Material m_material
 

Detailed Description

A particle with a form factor and refractive index.