java.lang.Object
org.jfree.chart3d.data.xyz.XYZDatasetUtils
A collection of utility methods related to
XYZDataset.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XYZDataset<String> sampleFunction(Function3D f, String key, double xmin, double xmax, double xcount, double zmin, double zmax, double zcount) Creates anXYZDatasetby sampling aFunction3Dover a specified range.static XYZDataset<String> sampleFunction(Function3D f, String key, Range xrange, double xcount, Range zrange, double zcount) Creates anXYZDatasetby sampling aFunction3Dover a specified range.
-
Constructor Details
-
XYZDatasetUtils
public XYZDatasetUtils()
-
-
Method Details
-
sampleFunction
public static XYZDataset<String> sampleFunction(Function3D f, String key, Range xrange, double xcount, Range zrange, double zcount) Creates anXYZDatasetby sampling aFunction3Dover a specified range.- Parameters:
f- the function (nullnot permitted).key- the series key (nullnot permitted).xrange- the range of x values (nullnot permitted).xcount- the number of x samples (must be at least 2).zrange- the range of z values (nullnot permitted).zcount- the number of z-samples (must be at least 2).- Returns:
- A dataset containing sampled values from the function.
-
sampleFunction
public static XYZDataset<String> sampleFunction(Function3D f, String key, double xmin, double xmax, double xcount, double zmin, double zmax, double zcount) Creates anXYZDatasetby sampling aFunction3Dover a specified range.- Parameters:
f- the function (nullnot permitted).key- the series key (nullnot permitted).xmin- the lower bound of the x-range.xmax- the upper bound of the x-range.xcount- the number of x samples (must be at least 2).zmin- the lower bound of the z-range.zmax- the upper bound of the z-range.zcount- the number of z-samples (must be at least 2).- Returns:
- A dataset containing sampled values from the function.
-