public class Function3DUtils extends java.lang.Object
Function3D.| Modifier and Type | Method and Description |
|---|---|
static Range |
findYRange(Function3D f,
Range xRange,
Range zRange,
int xSamples,
int zSamples,
boolean ignoreNaN)
Returns the range of y-values in the function by sampling.
|
public static Range findYRange(Function3D f, Range xRange, Range zRange, int xSamples, int zSamples, boolean ignoreNaN)
f - the function (null not permitted).xRange - the x-range to sample (null not permitted).zRange - the z-range to sample (null not permitted).xSamples - the number of x-samples (must be at least 2).zSamples - the number of z-samples (must be at least 2).ignoreNaN - if true, any NaN values will
be ignored.null in the case that the function
returns no valid values).