28 pimpl = std::make_unique<ff::Prism>(symmetry_Ci,
height(), vertices);
31 for (
const R3& vertex : vertices) {
55 return std::sqrt(
pimpl->area());
62 return exp_I(
height() / 2 * q.z()) *
pimpl->formfactor(q);
Defines interface IDecoratableBorn.
Abstract base class for rotations.
double BottomZ(const std::vector< R3 > &vertices, const IRotation *rotation)
Calculates the z-coordinate of the lowest vertex after rotation.
double TopZ(const std::vector< R3 > &vertices, const IRotation *rotation)
Calculates the z-coordinate of the highest vertex after rotation.