public class DatumShiftGCT extends AbstractGCT
CoordinateReferenceSystem
to convert a latlon in a given
Ellipsoid
to/from wgs84.
The LatLonPoint
-side is in wgs84 and the Point2D
-side in
the other Ellipsoid
given by the constructor.
Datum shifting is performed using ECEFPoint
i18n, propertyPrefix
beanContextChildSupport, isolated
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
DatumShiftGCT(Ellipsoid ellip) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
forward(double lat,
double lon,
java.awt.geom.Point2D ret)
Convert from a latlon in wgs84 to the
Ellipsoid of this instance |
LatLonPoint |
inverse(double x,
double y,
LatLonPoint ret)
Convert from a latlon in the
Ellipsoid of this instance to wgs84 |
java.lang.String |
toString() |
forward, inverse
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setProperties, setPropertyPrefix
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
public DatumShiftGCT(Ellipsoid ellip)
public java.awt.geom.Point2D forward(double lat, double lon, java.awt.geom.Point2D ret)
Ellipsoid
of this instanceforward
in interface GeoCoordTransformation
forward
in class AbstractGCT
public LatLonPoint inverse(double x, double y, LatLonPoint ret)
Ellipsoid
of this instance to wgs84inverse
in interface GeoCoordTransformation
inverse
in class AbstractGCT
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details