|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.dataop.maptransf.CartographicMapTransform
MapProjection instead.
@Deprecated public abstract class CartographicMapTransform
An abstract base class for cartographic map-transformations.
| Field Summary | |
|---|---|
protected double |
_a
Deprecated. Semi-major parameter of ellipsoid (map scaling factor) in meter. |
protected float |
_centralMeridian
Deprecated. The central meridian value in degree. |
protected double |
_invA
Deprecated. Inverse semi-major parameter. |
protected double |
_x0
Deprecated. The false easting (map x-offset) in map units. |
protected double |
_y0
Deprecated. The false northing (map x-offset) in map units. |
| Constructor Summary | |
|---|---|
protected |
CartographicMapTransform(double centralMeridian,
double falseEasting,
double falseNorthing,
double semiMajor)
Deprecated. Constructs a new instance. |
| Method Summary | |
|---|---|
protected abstract Point2D |
forward_impl(float lat,
float lon,
Point2D mapPoint)
Deprecated. Worker method to be overridden by derived class. |
Point2D |
forward(GeoPos geoPoint,
Point2D mapPoint)
Deprecated. Forward project geographical co-ordinates into map co-ordinates. |
double |
getCentralMeridian()
Deprecated. Gets the central meridian parameter. |
double |
getFalseEasting()
Deprecated. Gets the map X-offset (false easting) parameter. |
double |
getFalseNorthing()
Deprecated. Gets the map Y-offset (false northing) parameter. |
double |
getInverseSemiMajor()
Deprecated. Gets the map scaling factor parameter. |
double |
getSemiMajor()
Deprecated. Gets the map scaling factor parameter. |
protected GeoPos |
inverse_impl(double x,
double y,
GeoPos geoPoint)
Deprecated. Worker method to be overridden by derived class. |
protected abstract GeoPos |
inverse_impl(float x,
float y,
GeoPos geoPoint)
Deprecated. Worker method to be overridden by derived class. |
GeoPos |
inverse(Point2D mapPoint,
GeoPos geoPoint)
Deprecated. Inverse project map co-ordinates into geographical co-ordinates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.esa.beam.framework.dataop.maptransf.MapTransform |
|---|
createDeepClone, getDescriptor, getParameterValues |
| Field Detail |
|---|
protected final float _centralMeridian
protected final double _a
protected final double _invA
protected final double _x0
protected final double _y0
| Constructor Detail |
|---|
protected CartographicMapTransform(double centralMeridian,
double falseEasting,
double falseNorthing,
double semiMajor)
centralMeridian - central meridian in degreefalseEasting - false easting (map x-offset) in map unitsfalseNorthing - false northing (map y-offset) in map unitssemiMajor - semi-major parameter of ellipsoid (map scaling factor) in map units| Method Detail |
|---|
public double getCentralMeridian()
public double getSemiMajor()
public double getInverseSemiMajor()
public double getFalseEasting()
public double getFalseNorthing()
public Point2D forward(GeoPos geoPoint,
Point2D mapPoint)
forward in interface MapTransformgeoPoint - the source position in lat/lonmapPoint - the target map position in x/y (,ight be null, then a new object is created
public GeoPos inverse(Point2D mapPoint,
GeoPos geoPoint)
inverse in interface MapTransformmapPoint - the source location in x/y map coordinatesgeoPoint - the target position in lat/lon (might be null, then a new object is created)
protected abstract Point2D forward_impl(float lat,
float lon,
Point2D mapPoint)
lat - latitude of source locationlon - longitude of source locationmapPoint - point on the map
protected abstract GeoPos inverse_impl(float x,
float y,
GeoPos geoPoint)
Should be overridden in order to delegate to if transformation is performed is in 64-bit accuracy. Override
inverse_impl(double, double,
org.esa.beam.framework.datamodel.GeoPos) instead in order to
perform the actual transformation.
inverse_impl(double, double, org.esa.beam.framework.datamodel.GeoPos)
geoPoint - point on the earth's surfacex - map x coordinatey - map y coordinate
protected GeoPos inverse_impl(double x,
double y,
GeoPos geoPoint)
Should be overridden in order to perform transformation in 64-bit accuracy.
The default implementation simple returns inverse_impl((float)x, (float)y, geoPoint).
geoPoint - point on the earth's surfacex - map x coordinatey - map y coordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||