@Equality public interface DataGeom
Modifier and Type | Method and Description |
---|---|
int |
getDataDimCount()
Returns the dimensionality of the plot surface's plot space.
|
Coord[] |
getPosCoords()
Returns the definitions for the user-supplied coordinates
that indicate plot positions.
|
String |
getVariantName()
Returns a label for this DataGeom.
|
boolean |
readDataPos(Tuple tuple,
int icol,
double[] dpos)
Determines the positional coordinates in data space for a supplied tuple.
|
int getDataDimCount()
Coord[] getPosCoords()
boolean readDataPos(Tuple tuple, int icol, double[] dpos)
A parameter supplies the index of the field in the tuple
at which the positional coordinate(s) can be found.
Each position is represented by getPosCoords()
columns of
the tuple.
By convention positions are at the start of the tuple,
so if there is one position in the tuple it will be at icol=0,
and there are multiple positions the N'th one will be at
icol=N*getPosCoords().
An array of (at least) getDataDimCount()
elements is
supplied, and on success the data space coordinate values
are written into it.
tuple
- coordinate tupleicol
- column index in tuple
at which the
positional information startsdpos
- array into which data space coordinates are writtenString getVariantName()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.