Graphite
Version 3
An experimental 3D geometry processing program
|
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 | |
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. More... | |
template<index_t DIM> | |
bool | GEO::mesh_generate_random_samples_on_surface (const Mesh &mesh, double *p, index_t nb_points, Attribute< double > &weight, signed_index_t facets_begin_in=-1, signed_index_t facets_end_in=-1) |
Generates a set of random samples over a surfacic mesh. More... | |
template<index_t DIM> | |
double | GEO::mesh_tetra_mass (const Mesh &mesh, index_t t) |
Computes the mass of a mesh tetrahedron. More... | |
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. More... | |
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, signed_index_t tets_begin_in=-1, signed_index_t tets_end_in=-1) |
Generates a set of random samples in a volumetric mesh. More... | |
Functions to generate random samples on surfacic and in volumetric meshes.
Definition in file mesh_sampling.h.