Class MarchingSquares


  • public class MarchingSquares
    extends java.lang.Object

    Implementation of the Marching Squares algorithm described in: https://en.wikipedia.org/wiki/Marching_squares

    • Constructor Summary

      Constructors 
      Constructor Description
      MarchingSquares()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GeneralPath[] buildContours​(double[][] data, double[] levels)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MarchingSquares

        public MarchingSquares()
    • Method Detail

      • buildContours

        public GeneralPath[] buildContours​(double[][] data,
                                           double[] levels)
                                    throws java.lang.InterruptedException,
                                           java.util.concurrent.ExecutionException
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException