public class SkyVectorCoordSet extends Object implements MultiPointCoordSet
Constructor and Description |
---|
SkyVectorCoordSet(boolean preMultCosLat)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static MultiPointForm |
createForm()
Creates a MultiPointform that can plot vectors on the sky,
corresponding to this coordset.
|
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,
DataGeom geom,
double[] xyz0,
double[][] xyzExtras)
Reads the non-central points from a appropriate span of columns
in a supplied tuple.
|
public SkyVectorCoordSet(boolean preMultCosLat)
preMultCosLat
- true iff the user-supplied longitude values have
been premultiplied by cos(latitude)public Coord[] getCoords()
MultiPointCoordSet
getCoords
in interface MultiPointCoordSet
public int getPointCount()
MultiPointCoordSet
getPointCount
in interface MultiPointCoordSet
public boolean readPoints(Tuple tuple, int icol, DataGeom geom, double[] xyz0, double[][] xyzExtras)
MultiPointCoordSet
icol
value gives the column corresponding to
the first coord of this coordinate set in the sequence;
the following few columns are assumed to correspod 1:1 to
the coords in this coord set.readPoints
in interface MultiPointCoordSet
tuple
- tupleicol
- index of tuple field corresponding to
the first of the coordinates in this setgeom
- converter between tuple values and
data space coordinates; may not be requiredxyz0
- nDataDim-element array giving central data positionxyzExtras
- [nPointCount][nDataDim]-shaped array into which
the non-central data positions will be writtenpublic static MultiPointForm createForm()
Copyright © 2022 Central Laboratory of the Research Councils. All Rights Reserved.