public class LineTimeCoding extends Object implements TimeCoding
Constructor and Description |
---|
LineTimeCoding(double[] mjDs) |
LineTimeCoding(int numLines,
double mjdStart,
double mjdEnd) |
Modifier and Type | Method and Description |
---|---|
double |
getMJD(PixelPos pixelPos)
Gets the time as MJD
double for a raster line Point2D.Double.getY() . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canGetPixelPos, getPixelPos
public LineTimeCoding(int numLines, double mjdStart, double mjdEnd) throws IOException
IOException
public LineTimeCoding(double[] mjDs) throws IOException
IOException
public double getMJD(PixelPos pixelPos)
double
for a raster line Point2D.Double.getY()
.
If the y value of the pixel pos is outside the raster y dimension NaN will be returned.getMJD
in interface TimeCoding
pixelPos
- The pixel position in units of a given raster data nodedouble
ProductData.UTC.getMJD()
,
TimeCoding.getPixelPos(double, PixelPos)
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.