public class CartesianVectorCoordSet extends Object implements CartesianMultiPointCoordSet
Constructor and Description |
---|
CartesianVectorCoordSet(String[] axisNames)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Coord[] |
getCoords()
Returns the coordinate definitions.
|
int |
getPointCount()
Returns the number of (non-central) data positions defined by this
coord set.
|
boolean |
readPoints(Tuple tuple,
int icol,
double[] xy0,
double[][] xyExtras)
Reads the non-central points from a appropriate span of columns
in a supplied tuple.
|
public CartesianVectorCoordSet(String[] axisNames)
axisNames
- names of cartesian axespublic Coord[] getCoords()
MultiPointCoordSet
getCoords
in interface MultiPointCoordSet
public int getPointCount()
MultiPointCoordSet
getPointCount
in interface MultiPointCoordSet
public boolean readPoints(Tuple tuple, int icol, double[] xy0, double[][] xyExtras)
CartesianMultiPointCoordSet
icExtra
value gives the column corresponding to
the first coord of this coordinate set in the sequence;
the following few columns are assumed to correspond 1:1 to
the coords in this coord set.readPoints
in interface CartesianMultiPointCoordSet
tuple
- tupleicol
- index of tuple field corresponding to
the first of the coordinates in this setxy0
- nDataDim-element array giving central data positionxyExtras
- [nPointCount][nDataDim]-shaped array into which
the non-central data positions will be writtenCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.