Package org.tinfour.contour
Class ContourUtilities
- java.lang.Object
-
- org.tinfour.contour.ContourUtilities
-
public class ContourUtilities extends Object
Provides utility methods for application that perform contouring.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double[]computeContourValues(double zMin, double zMax, double zInterval)Compute contour values as even multiples of zInterval within the range of zMin and zMax.
-
-
-
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 interestzMax- the maximum value of interestzInterval- the contour spacing interval- Returns:
- a valid, potentially zero-sized array
-
-