public static enum GridAxis.Spacing extends Enum<GridAxis.Spacing>
| Enum Constant and Description |
|---|
contiguousInterval
Irregular contiguous intervals values[npts+1]; values are the edges, midpoints halfway between edges.
|
discontiguousInterval
Irregular discontiguous intervals values[2*npts]; values are the edges: low0, high0, low1, high1, ...
|
irregularPoint
Irregular spaced points values[npts]; edges halfway between coords.
|
regularInterval
Regular contiguous intervals (start, end, npts); start and end are edges, midpoints halfway between edges,
resol = (start - end) / npts.
|
regularPoint
Regularly spaced points (start, end, npts); start and end are midpoints, edges halfway between midpoints,
resol = (start - end) / (npts-1)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInterval()
If the coordinate values are intervals.
|
boolean |
isRegular()
If the spacing is regular.
|
static GridAxis.Spacing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridAxis.Spacing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridAxis.Spacing regularPoint
public static final GridAxis.Spacing irregularPoint
public static final GridAxis.Spacing regularInterval
public static final GridAxis.Spacing contiguousInterval
public static final GridAxis.Spacing discontiguousInterval
public static GridAxis.Spacing[] values()
for (GridAxis.Spacing c : GridAxis.Spacing.values()) System.out.println(c);
public static GridAxis.Spacing valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isRegular()
public boolean isInterval()