Package org.esa.snap.core.datamodel
Class PixelPosEstimator
- java.lang.Object
-
- org.esa.snap.core.datamodel.PixelPosEstimator
-
public class PixelPosEstimator extends Object
A class for estimating the pixel position for a given geo-location. To be used with pixel geo-codings in order to obtain a fast and accurate estimate.This class does not belong to the public API.
- Since:
- Version 5.0
-
-
Constructor Summary
Constructors Constructor Description PixelPosEstimator(GeoApproximation[] approximations, Rectangle bounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canGetPixelPos()
GeoApproximation
getPixelPos(GeoPos g, PixelPos p)
Returns an approximate pixel position for a given geographic position.
-
-
-
Constructor Detail
-
PixelPosEstimator
public PixelPosEstimator(GeoApproximation[] approximations, Rectangle bounds)
-
-
Method Detail
-
canGetPixelPos
public final boolean canGetPixelPos()
-
getPixelPos
public GeoApproximation getPixelPos(GeoPos g, PixelPos p)
Returns an approximate pixel position for a given geographic position.- Parameters:
g
- the geographic position.p
- the pixel position.- Returns:
- an approximate pixel position.
-
-