15 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_PLATONICOCTAHEDRON_H
16 #define BORNAGAIN_SAMPLE_HARDPARTICLE_PLATONICOCTAHEDRON_H
30 std::string
className() const final {
return "PlatonicOctahedron"; }
32 std::vector<ParaMeta>
parDefs() const final
34 return {{
"Edge",
"nm",
"length of any edge", 0, +
INF, 0}};
A truncated bifrustum with quadratic base.
std::vector< ParaMeta > parDefs() const final
Returns the parameter definitions, to be hard-coded in each leaf class.
PlatonicOctahedron(double edge)
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
PlatonicOctahedron * clone() const override
Returns a clone of this ISampleNode object.
static const ff::PolyhedralTopology topology