Class ContourUtilities


  • public class ContourUtilities
    extends Object
    Provides utility methods for application that perform contouring.
    • Method Detail

      • computeContourValues

        public static double[] computeContourValues​(double zMin,
                                                    double zMax,
                                                    double zInterval)
        Compute contour values as even multiples of zInterval within the range of zMin and zMax. If no contour can be constructed with the interval, a zero-sized array will be returned.
        Parameters:
        zMin - the minimum value of interest
        zMax - the maximum value of interest
        zInterval - the contour spacing interval
        Returns:
        a valid, potentially zero-sized array