|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.data.SingleCoord
uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord
public abstract class FloatingArrayCoord
Coord implementation for a variable-length array of floating point values. This covers both single and double precision.
Method Summary | |
---|---|
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(TupleSequence tseq,
int icol)
Returns the length of an array value at an appropriate column in the current row of a given TupleSequence. |
abstract double[] |
readArrayCoord(TupleSequence tseq,
int icol)
Reads an array value from an appropriate column in the current row of a given TupleSequence. |
Methods inherited from class uk.ac.starlink.ttools.plot2.data.SingleCoord |
---|
getInput, getInputs, getStorageType, isRequired |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface uk.ac.starlink.ttools.plot2.data.Coord |
---|
inputToStorage |
Method Detail |
---|
public abstract double[] readArrayCoord(TupleSequence tseq, int icol)
tseq
- sequence positioned at a rowicol
- index of column in sequence corresponding to this Coord
public abstract int getArrayCoordLength(TupleSequence tseq, int icol)
tseq
- sequence positioned at a rowicol
- index of column in sequence corresponding to this Coord
public static Class[] getAcceptableClasses()
public static FloatingArrayCoord createCoord(InputMeta meta, boolean isRequired)
meta
- input value metadataisRequired
- true if this coordinate is required for plotting
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |