org.jcae.mesh.amibe.algos2d
Class EnforceAbsDeflection

java.lang.Object
  extended by org.jcae.mesh.amibe.algos2d.EnforceAbsDeflection

public class EnforceAbsDeflection
extends java.lang.Object

Split triangles with an absolute deflection greater than requirements. As explained in Metric3D, the geometric error may exceed the desired value if triangles are too far away from local tangent planes. This algorithm computes the deflection of triangle centroids, and if it is larger than the requested value, this centroid is inserted into the mesh and incident edges are swapped if they are not Delaunay.


Constructor Summary
EnforceAbsDeflection(Mesh2D m)
          Creates a EnforceAbsDeflection instance.
 
Method Summary
 void compute()
          Check all triangles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnforceAbsDeflection

public EnforceAbsDeflection(Mesh2D m)
Creates a EnforceAbsDeflection instance.

Parameters:
m - the EnforceAbsDeflection instance to check.
Method Detail

compute

public void compute()
Check all triangles.