|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.map.proj.Projection
com.jhlabs.map.proj.CylindricalProjection
com.jhlabs.map.proj.TransverseMercatorProjection
public class TransverseMercatorProjection
Transverse Mercator Projection algorithm is taken from the USGS PROJ package.
Field Summary |
---|
Fields inherited from class com.jhlabs.map.proj.Projection |
---|
a, DTR, e, ellipsoid, EPS10, es, falseEasting, falseNorthing, fromMetres, geocentric, maxLatitude, maxLongitude, minLatitude, minLongitude, name, one_es, projectionLatitude, projectionLongitude, rone_es, RTD, scaleFactor, spherical, trueScaleLatitude |
Constructor Summary | |
---|---|
TransverseMercatorProjection()
|
|
TransverseMercatorProjection(Ellipsoid ellipsoid,
double lon_0,
double lat_0,
double k,
double x_0,
double y_0)
Set up a projection suitable for State Plane Coordinates. |
Method Summary | |
---|---|
Object |
clone()
|
int |
getRowFromNearestParallel(double latitude)
|
int |
getZoneFromNearestMeridian(double longitude)
|
boolean |
hasInverse()
Returns true if this projection has an inverse |
void |
initialize()
Initialize the projection. |
boolean |
isConformal()
Returns true if this projection is conformal |
boolean |
isRectilinear()
Returns true if lat/long lines form a rectangular grid for this projection. |
Point2D.Double |
project(double lplam,
double lpphi,
Point2D.Double xy)
The method which actually does the projection. |
Point2D.Double |
projectInverse(double x,
double y,
Point2D.Double out)
The method which actually does the inverse projection. |
void |
setUTMZone(int zone)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransverseMercatorProjection()
public TransverseMercatorProjection(Ellipsoid ellipsoid, double lon_0, double lat_0, double k, double x_0, double y_0)
Method Detail |
---|
public Object clone()
clone
in class Projection
public void initialize()
Projection
initialize
in class Projection
public int getRowFromNearestParallel(double latitude)
public int getZoneFromNearestMeridian(double longitude)
public void setUTMZone(int zone)
public Point2D.Double project(double lplam, double lpphi, Point2D.Double xy)
Projection
project
in class Projection
lplam
- Longitude in radians.lpphi
- Latitude in radians.xy
- The projected point.
public Point2D.Double projectInverse(double x, double y, Point2D.Double out)
Projection
projectInverse
in class Projection
public boolean hasInverse()
Projection
hasInverse
in class Projection
public boolean isConformal()
Projection
isConformal
in class Projection
public boolean isRectilinear()
Projection
isRectilinear
in class CylindricalProjection
public String toString()
toString
in class CylindricalProjection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |