31 const std::vector<double>& PValues)
41 const std::vector<kvector_t>& vertices)
43 pimpl = std::make_unique<Polyhedron>(topology, z_bottom, vertices);
58 return pimpl->evaluate_for_q(q);
63 return pimpl->evaluate_centered(q);
68 return pimpl->volume();
72 return pimpl->radius();
79 pimpl->assert_platonic();
std::complex< double > complex_t
Defines class Polyhedron.
Abstract base class for Born form factors.
static double TopZ(const std::vector< kvector_t > &vertices, const IRotation &rotation)
Calculates the z-coordinate of the highest vertex after rotation.
static double BottomZ(const std::vector< kvector_t > &vertices, const IRotation &rotation)
Calculates the z-coordinate of the lowest vertex after rotation.
Abstract base class for rotations.
For internal use in IFormFactorPolyhedron.