java.lang.Object
org.jfree.chart3d.data.function.Function3DUtils
Utility methods related to
Function3D.- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic RangefindYRange(Function3D f, Range xRange, Range zRange, int xSamples, int zSamples, boolean ignoreNaN) Returns the range of y-values in the function by sampling.
-
Method Details
-
findYRange
public 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.- Parameters:
f- the function (nullnot permitted).xRange- the x-range to sample (nullnot permitted).zRange- the z-range to sample (nullnot permitted).xSamples- the number of x-samples (must be at least 2).zSamples- the number of z-samples (must be at least 2).ignoreNaN- iftrue, anyNaNvalues will be ignored.- Returns:
- The range (
nullin the case that the function returns no valid values).
-