com.partnersoft.v3x.geometry.projections
Class TransverseMercatorProj

java.lang.Object
  extended by com.partnersoft.v3x.geometry.projections.TransverseMercatorProj
All Implemented Interfaces:
Projection

public class TransverseMercatorProj
extends java.lang.Object
implements Projection

This is a Projection implementation that uses the PROJ4 library. Our projection code has a hard-to-track-down bug with Alabama East NAD 83, so we're using the PROJ4 implementation as a workaround.


Constructor Summary
TransverseMercatorProj()
           
 
Method Summary
 double getFalseEasting()
           
 double getFalseNorthing()
           
 double getProjectionLatitudeDegrees()
           
 double getProjectionLongitudeDegrees()
           
 double getScaleFactor()
           
 DoublePoint project(double longitude, double latitude)
          Project from latlong to xy.
 DoublePoint reverse(double x, double y)
          Reverse project from xy to latlong.
 void setFalseEasting(double falseEasting)
           
 void setFalseNorthing(double falseNorthing)
           
 void setProjectionLatitudeDegrees(double projectionLatitudeDegrees)
           
 void setProjectionLongitudeDegrees(double projectionLongitudeDegrees)
           
 void setScaleFactor(double scaleFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransverseMercatorProj

public TransverseMercatorProj()
Method Detail

getFalseEasting

public double getFalseEasting()

setFalseEasting

public void setFalseEasting(double falseEasting)

getFalseNorthing

public double getFalseNorthing()

setFalseNorthing

public void setFalseNorthing(double falseNorthing)

getProjectionLatitudeDegrees

public double getProjectionLatitudeDegrees()

setProjectionLatitudeDegrees

public void setProjectionLatitudeDegrees(double projectionLatitudeDegrees)

getProjectionLongitudeDegrees

public double getProjectionLongitudeDegrees()

setProjectionLongitudeDegrees

public void setProjectionLongitudeDegrees(double projectionLongitudeDegrees)

getScaleFactor

public double getScaleFactor()

setScaleFactor

public void setScaleFactor(double scaleFactor)

project

public DoublePoint project(double longitude,
                           double latitude)
Description copied from interface: Projection
Project from latlong to xy.

Specified by:
project in interface Projection

reverse

public DoublePoint reverse(double x,
                           double y)
Description copied from interface: Projection
Reverse project from xy to latlong. Results are returned with point.x = long, point.y = lat.

Specified by:
reverse in interface Projection