1 #ifndef SIMPT_MATH_MESH_GEOMETRY_H_INCLUDED
2 #define SIMPT_MATH_MESH_GEOMETRY_H_INCLUDED
22 #include <boost/property_tree/ptree.hpp>
28 using boost::property_tree::ptree;
40 static std::tuple<std::array<double, 3>, std::array<double, 3>>
BoundingBox(std::shared_ptr<Mesh> mesh);
47 static std::tuple<double, double, double>
Compactness(
const Mesh* mesh);
52 #endif // end_of_include_guard
Helper functions for mesh geometry.
static std::tuple< double, double, double > Compactness(const Mesh *mesh)
Calculate the convex hull of the cells in the mesh and returns respectively the ratio of the areas of...
Namespace for the core simulator.
static std::tuple< std::array< double, 3 >, std::array< double, 3 > > BoundingBox(std::shared_ptr< Mesh > mesh)
Calculate a bounding box around the mesh.
Structure of cells; key data structure.