BornAgain  1.19.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 reflection and scattering
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 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_POLYHEDRALTOPOLOGY_H
21 #define BORNAGAIN_SAMPLE_HARDPARTICLE_POLYHEDRALTOPOLOGY_H
22 
23 #include <vector>
24 
25 //! For internal use in PolyhedralFace.
27 public:
28  std::vector<int> vertexIndices;
30 };
31 
32 //! For internal use in IFormFactorPolyhedron.
34 public:
35  std::vector<PolygonalTopology> faces;
37 };
38 
39 #endif // BORNAGAIN_SAMPLE_HARDPARTICLE_POLYHEDRALTOPOLOGY_H
40 #endif // USER_API
For internal use in PolyhedralFace.
std::vector< int > vertexIndices
For internal use in IFormFactorPolyhedron.
std::vector< PolygonalTopology > faces