Package org.esa.snap.core.datamodel
Class GeoApproximation
- java.lang.Object
- 
- org.esa.snap.core.datamodel.GeoApproximation
 
- 
 public final class GeoApproximation extends Object Approximates the x(lat, lon) and y(lat, lon) functions.This class does not belong to the public API. 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeoApproximation[]createApproximations(javax.media.jai.PlanarImage lonImage, javax.media.jai.PlanarImage latImage, javax.media.jai.PlanarImage maskImage, double accuracy)doublegetDistance(double lat, double lon)Returns the distance (in radian) of 'the center of this approximation' to a given (lat, lon) point.RationalFunctionModelgetFX()Returns the (approximation to) the x(lat, lon) function.RationalFunctionModelgetFY()Returns the (approximation to) the y(lat, lon) function.doublegetMaxDistance()Returns the maximum distance (in radian) within which this approximation is valid.RectanglegetRange()Returns the range of the x(lat, lon) and y(lat, lon) functions.RotatorgetRotator()Returns theRotatorassociated with this approximation.
 
- 
- 
- 
Method Detail- 
createApproximationspublic static GeoApproximation[] createApproximations(javax.media.jai.PlanarImage lonImage, javax.media.jai.PlanarImage latImage, javax.media.jai.PlanarImage maskImage, double accuracy) 
 - 
getFXpublic RationalFunctionModel getFX() Returns the (approximation to) the x(lat, lon) function.- Returns:
- the (approximation to) the x(lat, lon) function.
 
 - 
getFYpublic RationalFunctionModel getFY() Returns the (approximation to) the y(lat, lon) function.- Returns:
- the (approximation to) the y(lat, lon) function.
 
 - 
getMaxDistancepublic double getMaxDistance() Returns the maximum distance (in radian) within which this approximation is valid.- Returns:
- the maximum distance (in radian).
 
 - 
getDistancepublic double getDistance(double lat, double lon)Returns the distance (in radian) of 'the center of this approximation' to a given (lat, lon) point.- Parameters:
- lat- The latitude.
- lon- The longitude.
- Returns:
- the distance (in radian).
 
 - 
getRotatorpublic Rotator getRotator() Returns theRotatorassociated with this approximation.- Returns:
- the Rotatorassociated with this approximation.
 
 - 
getRangepublic Rectangle getRange() Returns the range of the x(lat, lon) and y(lat, lon) functions.- Returns:
- the range of the x(lat, lon) and y(lat, lon) functions.
 
 
- 
 
-