maspack.geometry
Class LaplacianSmoother

java.lang.Object
  extended by maspack.geometry.LaplacianSmoother

public class LaplacianSmoother
extends java.lang.Object

Applies a simple Laplacian smoothing algorithm to a polygonal mesh, along with volume compenstation.


Constructor Summary
LaplacianSmoother()
           
 
Method Summary
static void smooth(PolygonalMesh mesh, int iterations, double lam, double mu)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaplacianSmoother

public LaplacianSmoother()
Method Detail

smooth

public static void smooth(PolygonalMesh mesh,
                          int iterations,
                          double lam,
                          double mu)