Enumerations | |
| enum class | Shape { circle , square , cube , sphere , cylinder , tetrahedron , octahedron , icosahedron , dodecahedron } |
| Collection of different pore-body shapes. More... | |
Functions | |
| std::string | shapeToString (Shape s) |
| Get the shape from a string description of the shape. More... | |
| Shape | shapeFromString (const std::string &s) |
| Get the shape from a string description of the shape. More... | |
| template<class Scalar > | |
| Scalar | volume (Shape shape, Scalar inscribedRadius) |
| Returns the volume of a given geometry based on the inscribed radius. More... | |
| template<class Scalar > | |
| Scalar | volume (Shape shape, Scalar inscribedRadius, Scalar height) |
| Returns the volume of a given geometry based on the inscribed radius and the height. More... | |
|
strong |
|
inline |
Get the shape from a string description of the shape.
|
inline |
Get the shape from a string description of the shape.
|
inline |
Returns the volume of a given geometry based on the inscribed radius.
|
inline |
Returns the volume of a given geometry based on the inscribed radius and the height.