public abstract class FloatingArrayCoord extends SingleCoord
Modifier and Type | Class and Description |
---|---|
static class |
FloatingArrayCoord.ArrayDomain
Domain for numeric array values.
|
Modifier and Type | Field and Description |
---|---|
static FloatingArrayCoord |
X
Coordinate representing a vector of X values.
|
static FloatingArrayCoord |
Y
Coordinate representing a vector of Y values.
|
Modifier and Type | Method and Description |
---|---|
static FloatingArrayCoord |
createCoord(InputMeta meta,
boolean isRequired)
Constructs a new FloatingArrayCoord.
|
static Class<?>[] |
getAcceptableClasses()
Returns a list of the classes which can be used as single user
coordinate values for floating array coordinates.
|
abstract int |
getArrayCoordLength(Tuple tuple,
int icol)
Returns the length of an array value at an appropriate column
in a given Tuple.
|
abstract double[] |
readArrayCoord(Tuple tuple,
int icol)
Reads an array value from an appropriate column in a given tuple.
|
getInput, getInputs, getStorageType, isRequired, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
inputStorage
public static final FloatingArrayCoord X
public static final FloatingArrayCoord Y
public abstract double[] readArrayCoord(Tuple tuple, int icol)
tuple
- tupleicol
- index of field in tuple corresponding to this Coordpublic abstract int getArrayCoordLength(Tuple tuple, int icol)
tuple
- tupleicol
- index of column in tuple corresponding to this Coordpublic static Class<?>[] getAcceptableClasses()
public static FloatingArrayCoord createCoord(InputMeta meta, boolean isRequired)
meta
- input value metadataisRequired
- true if this coordinate is required for plottingCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.