uk.me.jstott.jcoord
Class CoordinateSystem

java.lang.Object
  extended by uk.me.jstott.jcoord.CoordinateSystem
Direct Known Subclasses:
ECEFRef, IrishRef, MGRSRef, OSRef, UTMRef

public abstract class CoordinateSystem
extends java.lang.Object

This class is part of the Jcoord package. Visit the Jcoord website for more information.

Superclass for classes defining co-ordinate systems.

(c) 2006 Jonathan Stott

Created on 02-Apr-2006

Since:
1.1
Version:
1.1
Author:
Jonathan Stott

Constructor Summary
CoordinateSystem(Datum datum)
           
 
Method Summary
 Datum getDatum()
          Get the datum.
 void setDatum(Datum datum)
          Set the datum.
abstract  LatLng toLatLng()
          Convert a co-ordinate in the co-ordinate system to a point represented by a latitude and longitude and a perpendicular height above (or below) a reference ellipsoid.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordinateSystem

public CoordinateSystem(Datum datum)
Method Detail

toLatLng

public abstract LatLng toLatLng()
Convert a co-ordinate in the co-ordinate system to a point represented by a latitude and longitude and a perpendicular height above (or below) a reference ellipsoid.

Returns:
a LatLng representation of a point in a co-ordinate system.
Since:
1.1

setDatum

public void setDatum(Datum datum)
Set the datum.

Parameters:
datum - the datum.
Since:
1.1

getDatum

public Datum getDatum()
Get the datum.

Returns:
the datum.
Since:
1.1