com.partnersoft.v3x.geometry.projections
Class TransverseMercatorProj
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransverseMercatorProj
public TransverseMercatorProj()
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