|
| std::string | shapeToString (Shape s) |
| | Get the shape from a string description of the shape.
|
| |
| Shape | shapeFromString (const std::string &s) |
| | Get the shape from a string description of the shape.
|
| |
| template<class Scalar> |
| Scalar | volume (Shape shape, Scalar inscribedRadius) |
| | Returns the volume of a given geometry based on the inscribed radius.
|
| |
| 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.
|
| |