Mesh filtering utilities.
More...
Mesh filtering utilities.
◆ mesh_smoothing()
template<typename
Scalar, typename Index>
#include <lagrange/filtering/mesh_smoothing.h>
Perform anisotropic mesh smoothing.
- The mesh need not be manifold.
- The mesh can have self-intersections
- The mesh can be disconnected
- The mesh can have boundaries
- The mesh should not have degenerate (i.e. zero-area) triangles. (Strictly speaking, it should not have vertices all of whose incident triangles are degenerate.)
- Parameters
-
| [in,out] | mesh | Triangle mesh to smooth. |
| [in] | options | Smoothing options. |
- Template Parameters
-
| Scalar | Mesh scalar type. |
| Index | Mesh index type. |