org.das2.math
Class Contour

java.lang.Object
  extended by org.das2.math.Contour

public class Contour
extends java.lang.Object

Contouring based on code published in Javatech, Volume 13 Issue 9, "Contour Plotting In Java" by David Rand. This code is based on Fortran code implementing 1978 article by W. V. Snyder. W. V. Snyder, "Algorithm 531, Contour plotting [J6]," ACM Trans. Math. Softw. 4, 3 (Sept. 1978), 290-294.


Nested Class Summary
static class Contour.ContourPlot
           
 
Field Summary
static java.lang.String PLANE_X
           
static java.lang.String PLANE_Y
           
 
Constructor Summary
Contour()
           
 
Method Summary
static VectorDataSet contour(TableDataSet tds, Datum level)
           
static VectorDataSet contour(TableDataSet tds, DatumVector levels)
          returns a rank 1 dataset, a vector dataset, listing the points of the contour paths.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLANE_X

public static final java.lang.String PLANE_X
See Also:
Constant Field Values

PLANE_Y

public static final java.lang.String PLANE_Y
See Also:
Constant Field Values
Constructor Detail

Contour

public Contour()
Method Detail

contour

public static VectorDataSet contour(TableDataSet tds,
                                    DatumVector levels)
returns a rank 1 dataset, a vector dataset, listing the points of the contour paths. The data set will have three planes: X, Y and the default plane is the Z.


contour

public static VectorDataSet contour(TableDataSet tds,
                                    Datum level)