org.jscience.geography.coordinates
Class CoordSurf_Mercator

java.lang.Object
  extended by org.jscience.geography.coordinates.Coord
      extended by org.jscience.geography.coordinates.CoordSurf
          extended by org.jscience.geography.coordinates.CoordSurf_Mercator
All Implemented Interfaces:
java.lang.Cloneable, Coordinates

public class CoordSurf_Mercator
extends CoordSurf

A CoordSurf for SRF_Mercator.

See Also:
SRF_Mercator

Field Summary
 
Fields inherited from class org.jscience.geography.coordinates.CoordSurf
_values
 
Constructor Summary
CoordSurf_Mercator(SRF_Mercator srf)
          Creates a new CoordSurf_Mercator object.
CoordSurf_Mercator(SRF_Mercator srf, double easting, double northing)
          Creates a new CoordSurf_Mercator object.
 
Method Summary
 double get_easting()
          DOCUMENT ME!
 double get_northing()
          DOCUMENT ME!
 boolean isEqual(Coord coord)
          Returns TRUE if the coordinate component values are "equal"
 void set_easting(double value)
          DOCUMENT ME!
 void set_northing(double value)
          DOCUMENT ME!
 void setValues(double easting, double northing)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.geography.coordinates.CoordSurf
copyTo, getValues, setValues
 
Methods inherited from class org.jscience.geography.coordinates.Coord
getClassType, getSRF, makeClone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoordSurf_Mercator

public CoordSurf_Mercator(SRF_Mercator srf)
Creates a new CoordSurf_Mercator object.

Parameters:
srf - DOCUMENT ME!

CoordSurf_Mercator

public CoordSurf_Mercator(SRF_Mercator srf,
                          double easting,
                          double northing)
Creates a new CoordSurf_Mercator object.

Parameters:
srf - DOCUMENT ME!
easting - DOCUMENT ME!
northing - DOCUMENT ME!
Method Detail

setValues

public void setValues(double easting,
                      double northing)
DOCUMENT ME!

Parameters:
easting - DOCUMENT ME!
northing - DOCUMENT ME!

get_easting

public double get_easting()
DOCUMENT ME!

Returns:
DOCUMENT ME!

get_northing

public double get_northing()
DOCUMENT ME!

Returns:
DOCUMENT ME!

set_easting

public void set_easting(double value)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!

set_northing

public void set_northing(double value)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!

isEqual

public boolean isEqual(Coord coord)
Description copied from class: CoordSurf
Returns TRUE if the coordinate component values are "equal"

Overrides:
isEqual in class CoordSurf
Parameters:
coord - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Specified by:
toString in class Coord
Returns:
DOCUMENT ME!