Geogram Version 1.9.6-rc
A programming library of geometric algorithms
|
Functions to generate random samples on surfacic and in volumetric meshes. More...
#include <geogram/basic/common.h>
#include <geogram/mesh/mesh.h>
#include <geogram/mesh/mesh_geometry.h>
#include <geogram/basic/geometry_nd.h>
#include <geogram/basic/logger.h>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | GEO |
Global Vorpaline namespace. | |
Functions | |
template<index_t DIM> | |
double | GEO::mesh_facet_mass (const Mesh &mesh, index_t f, Attribute< double > &vertex_weight) |
Computes the mass of a mesh facet. | |
template<index_t DIM> | |
bool | GEO::mesh_generate_random_samples_on_surface (const Mesh &mesh, double *p, index_t nb_points, Attribute< double > &weight, index_t facets_begin_in=NO_INDEX, index_t facets_end_in=NO_INDEX) |
Generates a set of random samples over a surfacic mesh. | |
template<index_t DIM> | |
double | GEO::mesh_tetra_mass (const Mesh &mesh, index_t t) |
Computes the mass of a mesh tetrahedron. | |
template<index_t DIM> | |
double | GEO::mesh_tetra_mass (const Mesh &mesh, index_t t, const Attribute< double > &weight) |
Computes the mass of a mesh tetrahedron. | |
template<index_t DIM> | |
bool | GEO::mesh_generate_random_samples_in_volume (const Mesh &mesh, double *p, index_t nb_points, Attribute< double > &vertex_weight, index_t tets_begin_in=NO_INDEX, index_t tets_end_in=NO_INDEX) |
Generates a set of random samples in a volumetric mesh. | |
Functions to generate random samples on surfacic and in volumetric meshes.
Definition in file mesh_sampling.h.