12#ifndef EASY3D_ALGO_SURFACE_MESH_FAIRING_H
13#define EASY3D_ALGO_SURFACE_MESH_FAIRING_H
16#include <easy3d/core/surface_mesh.h>
55 void fair(
unsigned int k = 2);
68 unsigned int laplace_degree,
69 std::map<SurfaceMesh::Vertex, double> &row);
75 SurfaceMesh::VertexProperty <vec3> points_;
Edge property of type T.
Definition surface_mesh.h:327
Vertex property of type T.
Definition surface_mesh.h:255
void minimize_curvature()
Minimize surface curvature.
Definition surface_mesh_fairing.h:49
void fair(unsigned int k=2)
Compute surface by solving k-harmonic equation.
Definition surface_mesh_fairing.cpp:52
~SurfaceMeshFairing()
Destructor.
Definition surface_mesh_fairing.cpp:42
void minimize_area()
Minimize surface area.
Definition surface_mesh_fairing.h:43
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:51
Definition collider.cpp:182
This type represents a vertex (internally it is basically an index).
Definition surface_mesh.h:135