Overview
The OpenMesh library provides tools for smoothing Triangle- and Polymeshes
- Smoother:
- OpenMesh::Smoother::SmootherT
- OpenMesh::Smoother::LaplaceSmootherT
- OpenMesh::Smoother::JacobiLaplaceSmootherT
Usage
The smoothers directly work on an OpenMesh. The following example shows how to use them:
smoother.initialize( Tangential_and_Normal,
C0)
smoother.smooth(3);
Options
Continuity
- C0: shape is continuous, but not the tangent
- C1: shape and tangent are continuous
- C2: preserves curvature
Component
- Tangential: Smooth in tangential direction
- Normal: Smooth in normal direction
- Tangential_and_Normal: Smooth in tangential and normal direction
Local Error
By default, this option is disabled. You can set local max. local errors (absolute or relative) via following functions: