- an instance of a geometric traits class
-
Type: a model of
Kernel
-
Default: a CGAL Kernel deduced from the point type, using
CGAL::Kernel_traits
- Extra: Exact constructions kernels are not supported by this function.
CGAL 6.0 - Triangulated Surface Mesh Approximation
|
Optional parameters of the functions of this package are implemented as BGL named parameters. The page Named Parameters describes their usage.
CGAL::Surface_mesh_approximation::L21_metric_plane_proxy
CGAL::Surface_mesh_approximation::L2_metric_plane_proxy
CGAL::Variational_shape_approximation
add option to enforce guarantee of 2-manifold and oriented output mesh
add option to smooth frontiers of the partition
add option to smooth and mutual tessellate frontiers of the partition
add function in the class interface to optimize, after meshing, the anchor point locations to minimize a user-defined metric (two-sided L1, two-sided L2, Wasserstein distance, etc).
add simulated annealing and combined operations to reach better minima.
Modules | |
Concepts | |
Classes | |
class | CGAL::Surface_mesh_approximation::L21_metric_plane_proxy< TriangleMesh, VertexPointMap, GeomTraits > |
Approximation L21 metric of vector proxy. More... | |
class | CGAL::Surface_mesh_approximation::L2_metric_plane_proxy< TriangleMesh, VertexPointMap, GeomTraits > |
Approximation L2 metric of plane proxy. More... | |
class | CGAL::Variational_shape_approximation< TriangleMesh, VertexPointMap, ErrorMetricProxy, GeomTraits, Concurrency_tag > |
Main class for Variational Shape Approximation algorithm. More... | |
Enumerations | |
enum | CGAL::Surface_mesh_approximation::Verbose_level { CGAL::Surface_mesh_approximation::SILENT , CGAL::Surface_mesh_approximation::MAIN_STEPS , CGAL::Surface_mesh_approximation::VERBOSE } |
Verbose level enumeration. More... | |
enum | CGAL::Surface_mesh_approximation::Seeding_method { CGAL::Surface_mesh_approximation::RANDOM , CGAL::Surface_mesh_approximation::INCREMENTAL , CGAL::Surface_mesh_approximation::HIERARCHICAL } |
Seeding method enumeration for Variational Shape Approximation algorithm. More... | |
Functions | |
template<typename TriangleMesh , typename NamedParameters > | |
bool | CGAL::Surface_mesh_approximation::approximate_triangle_mesh (const TriangleMesh &tm, const NamedParameters &np) |
approximates the input mesh with plane proxies. | |
bool CGAL::Surface_mesh_approximation::approximate_triangle_mesh | ( | const TriangleMesh & | tm, |
const NamedParameters & | np | ||
) |
#include <CGAL/Surface_mesh_approximation/approximate_triangle_mesh.h>
approximates the input mesh with plane proxies.
This function uses the Variational Shape Approximation algorithm described in [1] to approximate a triangle surface mesh, with indexed triangles as output.
TriangleMesh | model of FaceListGraph |
NamedParameters | a sequence of Named Parameters |
tm | triangle surface mesh to be approximated |
np | an optional sequence of Named Parameters among the ones listed below |
true
if the indexed triangles represent a 2-manifold, oriented surface mesh, and false
otherwise.
| |
| |
| |
| |
| |
| |
| |
|
| |
| |
| |
| |
|
| |
| |
| |
|