|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.datamodel.AbstractGeoCoding
org.esa.beam.framework.datamodel.CombinedFXYGeoCoding
public class CombinedFXYGeoCoding
A geo-coding based on a combination of GeoCodings.
All the geocodings added must be wrapped in a CodingWrapper
which describes the area in scene coordinates to which the geocoding is concerned.
| Nested Class Summary | |
|---|---|
static class |
CombinedFXYGeoCoding.CodingWrapper
|
| Constructor Summary | |
|---|---|
CombinedFXYGeoCoding(CombinedFXYGeoCoding.CodingWrapper[] codingWrappers)
|
|
| Method Summary | |
|---|---|
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. |
void |
dispose()
Releases all of the resources used by this object instance and all of its owned children. |
CombinedFXYGeoCoding.CodingWrapper[] |
getCodingWrappers()
Returns the CodingWrappers this GeoCoding consists of. |
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. |
PixelPos |
getPixelPos(GeoPos geoPos,
PixelPos pixelPos)
Returns the pixel co-ordinates as x/y for a given geographical position given as lat/lon. |
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)
Transfers the geo-coding of the srcScene to the destScene with respect to the given
subsetDef. |
| Methods inherited from class org.esa.beam.framework.datamodel.AbstractGeoCoding |
|---|
createImageCRS, getGeoCRS, getImageCRS, getImageToMapTransform, getMapCRS, setGeoCRS, setImageCRS, setMapCRS |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombinedFXYGeoCoding(CombinedFXYGeoCoding.CodingWrapper[] codingWrappers)
| Method Detail |
|---|
public CombinedFXYGeoCoding.CodingWrapper[] getCodingWrappers()
CodingWrappers this GeoCoding consists of.
CodingWrappers.
public boolean transferGeoCoding(Scene srcScene,
Scene destScene,
ProductSubsetDef subsetDef)
srcScene to the destScene with respect to the given
subsetDef.
transferGeoCoding in class AbstractGeoCodingsrcScene - the source scenedestScene - the destination scenesubsetDef - the definition of the subset, may be null
public boolean isCrossingMeridianAt180()
GeoCoding
true, if sopublic boolean canGetPixelPos()
GeoCoding
true, if sopublic boolean canGetGeoPos()
GeoCoding
true, if so
public PixelPos getPixelPos(GeoPos geoPos,
PixelPos pixelPos)
GeoCoding
geoPos - the geographical position as lat/lon in the coodinate system determined by GeoCoding.getDatum()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)
GeoCoding
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.
GeoCoding.getDatum()public Datum getDatum()
GeoCodingGeoPos measurements are made.
public void dispose()
GeoCodingThis 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||