gov.nasa.worldwind.geom.coords
Class DatumTransformation
java.lang.Object
gov.nasa.worldwind.geom.coords.DatumTransformation
public class DatumTransformation - extends Object
Class with static methods for datum transformation. Curently shifts between NAD27 and WGS84. Other shifts will be
added as needed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLARKE1866_GLOBE
public static Globe CLARKE1866_GLOBE
DatumTransformation
public DatumTransformation()
convertNad27toWGS84
public static Position convertNad27toWGS84(Position pos)
- Shift datum from NAD27 to WGS84
- Parameters:
pos - the original Position in NAD27
- Returns:
- the
Position in WGS84
- Throws:
IllegalArgumentException - if Position is null
convertWGS84toNad27
public static Position convertWGS84toNad27(Position pos)
- Shift datum from WGS84 to NAD27
- Parameters:
pos - the original Position in WGS84
- Returns:
- the
Position in NAD27
- Throws:
IllegalArgumentException - if Position is null
|
|