toxi.geom.mesh
Class LaplacianSmooth

java.lang.Object
  extended by toxi.geom.mesh.LaplacianSmooth
All Implemented Interfaces:
WEMeshFilterStrategy

public class LaplacianSmooth
extends java.lang.Object
implements WEMeshFilterStrategy

Applies a laplacian smooth function to all vertices in the mesh


Constructor Summary
LaplacianSmooth()
           
 
Method Summary
 void filter(VertexSelector selector, int numIterations)
           
 void filter(WETriangleMesh mesh, int numIterations)
          Applies the vertex filter to the given mesh
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaplacianSmooth

public LaplacianSmooth()
Method Detail

filter

public void filter(VertexSelector selector,
                   int numIterations)
Specified by:
filter in interface WEMeshFilterStrategy

filter

public void filter(WETriangleMesh mesh,
                   int numIterations)
Description copied from interface: WEMeshFilterStrategy
Applies the vertex filter to the given mesh

Specified by:
filter in interface WEMeshFilterStrategy