12#ifndef EASY3D_ALGO_SURFACE_MESH_FAIRING_H
13#define EASY3D_ALGO_SURFACE_MESH_FAIRING_H
15#include <easy3d/core/surface_mesh.h>
41 void fair(
unsigned int k = 2);
46 unsigned int laplace_degree,
47 std::map<SurfaceMesh::Vertex, double> &row);
A class for implicitly fairing a surface mesh.See the following paper for more details:
Definition: surface_mesh_fairing.h:26
void minimize_curvature()
minimize surface curvature (class SurfaceFairing::fair(2))
Definition: surface_mesh_fairing.h:38
void fair(unsigned int k=2)
compute surface by solving k-harmonic equation
Definition: surface_mesh_fairing.cpp:52
void minimize_area()
minimize surface area (class SurfaceFairing::fair(1))
Definition: surface_mesh_fairing.h:35
SurfaceMeshFairing(SurfaceMesh *mesh)
Construct with mesh to be processed.
Definition: surface_mesh_fairing.cpp:30
A halfedge data structure for polygonal meshes of 2-manifold.
Definition: surface_mesh.h:52
Definition: collider.cpp:182
Definition: surface_mesh.h:104