pmp-library  1.0
SurfaceSimplification Class Reference

Surface mesh simplification based on approximation error and fairness criteria. More...

#include <pmp/algorithms/SurfaceSimplification.h>

Public Member Functions

 SurfaceSimplification (SurfaceMesh &mesh)
 Construct with mesh to be simplified.
 
void initialize (Scalar aspect_ratio=0.0, Scalar edge_length=0.0, unsigned int max_valence=0, Scalar normal_deviation=0.0, Scalar hausdorff_error=0.0)
 Initialize with given parameters.
 
void simplify (unsigned int n_vertices)
 Simplify mesh to n vertices.
 

Detailed Description

Surface mesh simplification based on approximation error and fairness criteria.

Performs incremental greedy mesh simplification based on halfedge collapses. See [10] and [8] for details.