NASA World Wind

gov.nasa.worldwind.geom.coords
Class DatumTransformation

java.lang.Object
  extended by 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.


Field Summary
static Globe CLARKE1866_GLOBE
           
 
Constructor Summary
DatumTransformation()
           
 
Method Summary
static Position convertNad27toWGS84(Position pos)
          Shift datum from NAD27 to WGS84
static Position convertWGS84toNad27(Position pos)
          Shift datum from WGS84 to NAD27
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLARKE1866_GLOBE

public static Globe CLARKE1866_GLOBE
Constructor Detail

DatumTransformation

public DatumTransformation()
Method Detail

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

NASA World Wind

Hosted by docs.bugaco.com