public class FXYGeoCoding extends AbstractGeoCoding
functions
.Constructor and Description |
---|
FXYGeoCoding(float pixelOffsetX,
float pixelOffsetY,
float pixelSizeX,
float pixelSizeY,
FXYSum xFunction,
FXYSum yFunction,
FXYSum latFunction,
FXYSum lonFunction,
org.esa.snap.core.dataop.maptransf.Datum datum) |
Modifier and Type | Method and Description |
---|---|
boolean |
canGetGeoPos()
Checks whether or not this geo-coding can determine the geodetic position from a pixel position.
|
boolean |
canGetPixelPos()
Checks whether or not this geo-coding can determine the pixel position from a geodetic position.
|
FXYGeoCoding |
createCloneWithNewOffsetAndSize(float pixelOffsetX,
float pixelOffsetY,
float pixelSizeX,
float pixelSizeY) |
void |
dispose()
Releases all of the resources used by this object instance and all of its owned children.
|
org.esa.snap.core.dataop.maptransf.Datum |
getDatum()
Gets the datum, the reference point or surface against which
GeoPos measurements are made. |
GeoPos |
getGeoPos(PixelPos pixelPos,
GeoPos geoPos)
Returns the latitude and longitude value for a given pixel co-ordinate.
|
FXYSum |
getLatFunction() |
FXYSum |
getLonFunction() |
float |
getPixelOffsetX() |
float |
getPixelOffsetY() |
PixelPos |
getPixelPos(GeoPos geoPos,
PixelPos pixelPos)
Returns the pixel co-ordinates as x/y for a given geographical position given as lat/lon.
|
float |
getPixelSizeX() |
float |
getPixelSizeY() |
FXYSum |
getPixelXFunction() |
FXYSum |
getPixelYFunction() |
boolean |
isCrossingMeridianAt180()
Checks whether or not the longitudes of this geo-coding cross the +/- 180 degree meridian.
|
boolean |
transferGeoCoding(Scene srcScene,
Scene destScene,
ProductSubsetDef subsetDef)
|
createImageCRS, getGeoCRS, getImageCRS, getImageToMapTransform, getMapCRS, setGeoCRS, setImageCRS, setMapCRS
public float getPixelOffsetX()
public float getPixelOffsetY()
public float getPixelSizeX()
public float getPixelSizeY()
public FXYSum getPixelXFunction()
public FXYSum getPixelYFunction()
public FXYSum getLatFunction()
public FXYSum getLonFunction()
public boolean isCrossingMeridianAt180()
true
, if sopublic boolean canGetPixelPos()
true
, if sopublic boolean canGetGeoPos()
true
, if sopublic PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos)
geoPos
- the geographical position as lat/lon.pixelPos
- an instance of Point
to be used as retun value. If this parameter is
null
, the method creates a new instance which it then returns.public GeoPos getGeoPos(PixelPos pixelPos, GeoPos geoPos)
pixelPos
- the pixel's co-ordinates given as x,ygeoPos
- an instance of GeoPos
to be used as retun value. If this parameter is
null
, the method creates a new instance which it then returns.public org.esa.snap.core.dataop.maptransf.Datum getDatum()
GeoPos
measurements are made.public void dispose()
This method should be called only if it is for sure that this object instance will never be used again. The
results of referencing an instance of this class after a call to dispose()
are undefined.
public boolean transferGeoCoding(Scene srcScene, Scene destScene, ProductSubsetDef subsetDef)
transferGeoCoding
in class AbstractGeoCoding
srcScene
- the source scenedestScene
- the destination scenesubsetDef
- the definition of the subset, may be null
public FXYGeoCoding createCloneWithNewOffsetAndSize(float pixelOffsetX, float pixelOffsetY, float pixelSizeX, float pixelSizeY)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.