Easy3D 2.6.1
|
A class for implicitly fairing a surface mesh. More...
#include <easy3d/algo/surface_mesh_fairing.h>
Public Member Functions | |
SurfaceMeshFairing (SurfaceMesh *mesh) | |
Construct with mesh to be processed. | |
~SurfaceMeshFairing () | |
Destructor. | |
void | minimize_area () |
Minimize surface area. | |
void | minimize_curvature () |
Minimize surface curvature. | |
void | fair (unsigned int k=2) |
Compute surface by solving k-harmonic equation. | |
A class for implicitly fairing a surface mesh.
See the following paper for more details:
|
explicit |
Construct with mesh to be processed.
mesh | The surface mesh to be processed. |
void fair | ( | unsigned int | k = 2 | ) |
Compute surface by solving k-harmonic equation.
k | The degree of the harmonic equation to solve. Default is 2. |
|
inline |
Minimize surface area.
This function minimizes the surface area by fairing with degree 1.
|
inline |
Minimize surface curvature.
This function minimizes the surface curvature by fairing with degree 2.