lt.monarch.math
Class DelaunayTriangulation

java.lang.Object
  extended by lt.monarch.math.DelaunayTriangulation
All Implemented Interfaces:
Interpolator2D

public class DelaunayTriangulation
extends java.lang.Object
implements Interpolator2D


Nested Class Summary
Modifier and Type Class and Description
static class DelaunayTriangulation.Triangle
           
 
Nested classes/interfaces inherited from interface lt.monarch.math.Interpolator2D
Interpolator2D.Point, Interpolator2D.PointSet
 
Field Summary
Modifier and Type Field and Description
 Interpolator2D.Point[] points
           
 Interpolator2D.Point[] sourcePoints
           
 DelaunayTriangulation.Triangle[] triangles
           
 
Constructor Summary
Constructor and Description
DelaunayTriangulation(Interpolator2D.Point[] points)
           
 
Method Summary
Modifier and Type Method and Description
 double interpolateAt(double x, double y)
           
protected static Interpolator2D.Point[] realloc(Interpolator2D.Point[] x1, int newLength)
           
 void triangulate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourcePoints

public Interpolator2D.Point[] sourcePoints

points

public Interpolator2D.Point[] points

triangles

public DelaunayTriangulation.Triangle[] triangles
Constructor Detail

DelaunayTriangulation

public DelaunayTriangulation(Interpolator2D.Point[] points)
Method Detail

triangulate

public void triangulate()

realloc

protected static Interpolator2D.Point[] realloc(Interpolator2D.Point[] x1,
                                                int newLength)

interpolateAt

public double interpolateAt(double x,
                            double y)
Specified by:
interpolateAt in interface Interpolator2D