public class ConstantTimeCoding extends Object implements TimeCoding
| Constructor and Description |
|---|
ConstantTimeCoding(double time) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
PixelPos |
getPixelPos(double mjd,
PixelPos pixelPos)
Gets a pixel position associated with a time value given as Modified Julian Day 2000 (MJD2000).
|
public double getMJD(PixelPos pixelPos)
TimeCodinggetMJD in interface TimeCodingpixelPos - The pixel position in units of a given raster data nodeProductData.UTC.getMJD(),
TimeCoding.getPixelPos(double, PixelPos)public boolean canGetPixelPos()
TimeCodingTimeCoding is capable of converting time values into pixel positions.canGetPixelPos in interface TimeCodingtrue, if so.TimeCoding.getPixelPos(double, PixelPos)public PixelPos getPixelPos(double mjd, PixelPos pixelPos)
TimeCodinggetPixelPos in interface TimeCodingmjd - 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.TimeCoding.canGetPixelPos(),
TimeCoding.getMJD(PixelPos)Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.