|
Geogram Version 1.9.7
A programming library of geometric algorithms
|
Functions to sample volumes, to be used with semi-discrete optimal transport. More...
#include <exploragram/basic/common.h>Go to the source code of this file.
Namespaces | |
| namespace | GEO |
| Global Vorpaline namespace. | |
Functions | |
| void EXPLORAGRAM_API | GEO::recenter_mesh (const Mesh &M1, Mesh &M2) |
| Translates a mesh in such a way that its center matches the center of another mesh. | |
| double EXPLORAGRAM_API | GEO::mesh_tets_volume (const Mesh &M) |
| Computes the volume of a tetrahedral mesh. | |
| void EXPLORAGRAM_API | GEO::rescale_mesh (const Mesh &M1, Mesh &M2) |
| Rescales a mesh in such a way that its total volume matches the volume of a reference mesh. | |
| void EXPLORAGRAM_API | GEO::set_density (Mesh &M, double mass1, double mass2, const std::string &func_str, Mesh *distance_reference=nullptr) |
| Creates a "weight" attribute with varying values. | |
| void EXPLORAGRAM_API | GEO::sample (CentroidalVoronoiTesselation &CVT, index_t nb_points, bool project_on_border, bool BRIO=true, bool multilevel=true, double ratio=0.125, vector< index_t > *levels=nullptr) |
| Computes a point sampling of a surfacic or volumetric mesh. | |
Functions to sample volumes, to be used with semi-discrete optimal transport.
Definition in file sampling.h.