org.geotiff.epsg
Class HorizontalCS

java.lang.Object
  extended by org.geotiff.epsg.HorizontalCS
Direct Known Subclasses:
GeographicCS, ProjectedCS

public abstract class HorizontalCS
extends java.lang.Object

Represents the base class of the EPSG horizontal coordinate systems. It is also contains the factory method for constructing these things.


Field Summary
static int WGS84
           
 
Method Summary
static HorizontalCS create(int code)
          Factory method for coordinate systems.
 int getCode()
           
abstract  HorizontalCS getGeographicCS()
          This method must be implemented by the extendend class to return the undelying geographic coordinate system.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WGS84

public static int WGS84
Method Detail

getCode

public int getCode()

getGeographicCS

public abstract HorizontalCS getGeographicCS()
This method must be implemented by the extendend class to return the undelying geographic coordinate system.


create

public static HorizontalCS create(int code)
                           throws InvalidCodeException
Factory method for coordinate systems.

Throws:
InvalidCodeException