public interface TimeCoding
TimeCoding
interface allows to convert pixel coordinates to time values and vice versa (if possible).Modifier and Type | Method and Description |
---|---|
default boolean |
canGetPixelPos()
Determines whether this
TimeCoding is capable of converting time values into pixel positions. |
double |
getMJD(PixelPos pixelPos)
Gets the time for a given pixel position as Modified Julian Day 2000 (MJD2000).
|
default PixelPos |
getPixelPos(double mjd,
PixelPos pixelPos)
Gets a pixel position associated with a time value given as Modified Julian Day 2000 (MJD2000).
|
double getMJD(PixelPos pixelPos)
pixelPos
- The pixel position in units of a given raster data nodeProductData.UTC.getMJD()
,
getPixelPos(double, PixelPos)
default boolean canGetPixelPos()
TimeCoding
is capable of converting time values into pixel positions.true
, if so.getPixelPos(double, PixelPos)
default PixelPos getPixelPos(double mjd, PixelPos pixelPos)
mjd
- The time as Modified Julian Day 2000 (MJD2000).pixelPos
- The pixel position to be modified and returned. If null
a new instance will be created and returned.null
if this TimeCoding
cannot compute pixel positions from time values.canGetPixelPos()
,
getMJD(PixelPos)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.