public class LaplacianSmoother
extends java.lang.Object
| Constructor and Description |
|---|
LaplacianSmoother() |
| Modifier and Type | Method and Description |
|---|---|
static void |
smooth(PolygonalMesh mesh,
int numi,
double lam,
double mu)
Implements a specified number of iterations of Taubin smoothing.
|
public static void smooth(PolygonalMesh mesh, int numi, double lam, double mu)
lam = 0.33, mu =
-0.34. Setting lam = 1 and mu = 0 results in traditional
Laplacian smoothing.mesh - mesh to be smoothednumi - number of iterationslam - first Taubin parametermu - second Taubin parameter