org.jcae.mesh.amibe.algos2d
Class CheckDelaunay

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

public class CheckDelaunay
extends java.lang.Object

Swap edges which are not Delaunay. In an Euclidian 2D metrics, there is a unique Delaunay mesh, so edges can be processed in any order. But with a Riemannian metrics this is no more true, edges with the poorest quality should be processed first to improve the overall quality. This is not implemented yet, edges are currently not sorted.


Constructor Summary
CheckDelaunay(Mesh2D m)
          Creates a CheckDelaunay instance.
 
Method Summary
 void compute()
          Swap edges which are not Delaunay.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckDelaunay

public CheckDelaunay(Mesh2D m)
Creates a CheckDelaunay instance.

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

compute

public void compute()
Swap edges which are not Delaunay.