com.vividsolutions.jump.coordsys.impl
Class Mercator

java.lang.Object
  extended by com.vividsolutions.jump.coordsys.Projection
      extended by com.vividsolutions.jump.coordsys.impl.Mercator

public class Mercator
extends Projection

This class implements the Mercator projection.

Version:
$Revision: 1.2 $
Author:
$Author: dkim $
  $Id: Mercator.java,v 1.2 2003/11/05 05:12:52 dkim Exp $
  $Date: 2003/11/05 05:12:52 $

  $Log: Mercator.java,v $
  Revision 1.2  2003/11/05 05:12:52  dkim
  Added global header; cleaned up Javadoc.

  Revision 1.1  2003/09/15 20:26:12  jaquino
  Reprojection

  Revision 1.2  2003/07/25 17:01:04  gkostadinov
  Moved classses reponsible for performing the basic projection to a new
  package -- base.

  Revision 1.1  2003/07/24 23:14:44  gkostadinov
  adding base projection classes

  Revision 1.1  2003/06/20 18:34:31  gkostadinov
  Entering the source code into the CVS.
 

Constructor Summary
Mercator()
           
 
Method Summary
 Geographic asGeographic(Planar p, Geographic q)
           
 Planar asPlanar(Geographic q0, Planar p)
           
 void setParameters(double centralMeridian, double falseEasting, double falseNorthing)
           
 
Methods inherited from class com.vividsolutions.jump.coordsys.Projection
setSpheroid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mercator

public Mercator()
Method Detail

setParameters

public void setParameters(double centralMeridian,
                          double falseEasting,
                          double falseNorthing)
Parameters:
centralMeridian - in degrees
falseEasting - in metres
falseNorthing - in metres

asPlanar

public Planar asPlanar(Geographic q0,
                       Planar p)
Specified by:
asPlanar in class Projection

asGeographic

public Geographic asGeographic(Planar p,
                               Geographic q)
Specified by:
asGeographic in class Projection