public abstract static class GridAxis1D.Builder<T extends GridAxis1D.Builder<T>> extends GridAxis.Builder<T>
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
values |
axisType| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GridAxis1D |
build() |
T |
setNcoords(int ncoords) |
T |
setRange(Range range) |
T |
setRegular(int ncoords,
double startValue,
double endValue,
double increment)
Only used when spacing.isRegular.
|
T |
setValues(double[] values)
Spacing.regularXXX: not used
Spacing.irregularPoint: pts[ncoords]
Spacing.contiguousInterval: edges[ncoords+1]
Spacing.discontiguousInterval: bounds[2*ncoords]
|
T |
setValues(List<Double> values) |
T |
subset(int ncoords,
double startValue,
double endValue,
double resolution,
Range range) |
addAttribute, self, setAttributes, setAxisType, setDependenceType, setDependsOn, setDependsOn, setDescription, setIsSubset, setName, setResolution, setSpacing, setUnits, toStringpublic T setNcoords(int ncoords)
public T setValues(double[] values)
public T setRegular(int ncoords, double startValue, double endValue, double increment)
public T subset(int ncoords, double startValue, double endValue, double resolution, Range range)
public GridAxis1D build()
build in class GridAxis.Builder<T extends GridAxis1D.Builder<T>>