BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
PolyhedralTopology.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/HardParticle/PolyhedralTopology.h
6 //! @brief Defines classes PolygonalTopology, PolyhedralTopology
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************** //
14 
15 #ifndef BORNAGAIN_CORE_HARDPARTICLE_POLYHEDRALTOPOLOGY_H
16 #define BORNAGAIN_CORE_HARDPARTICLE_POLYHEDRALTOPOLOGY_H
17 
18 #include <vector>
19 
20 //! For internal use in PolyhedralFace.
22 {
23 public:
24  std::vector<int> vertexIndices;
26 };
27 
28 //! For internal use in IFormFactorPolyhedron.
30 {
31 public:
32  std::vector<PolygonalTopology> faces;
34 };
35 
36 #endif // BORNAGAIN_CORE_HARDPARTICLE_POLYHEDRALTOPOLOGY_H
For internal use in PolyhedralFace.
std::vector< int > vertexIndices
For internal use in IFormFactorPolyhedron.
std::vector< PolygonalTopology > faces