|
||||||||||
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.ObliqueMercatorProjection
public class ObliqueMercatorProjection
Oblique Mercator Projection algorithm is taken from the USGS PROJ package. Bernhard Jenny, 23 September 2010: changed super class to Cylindrical
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 | |
---|---|
ObliqueMercatorProjection()
|
|
ObliqueMercatorProjection(Ellipsoid ellipsoid,
double lon_0,
double lat_0,
double alpha,
double k,
double x_0,
double y_0)
Set up a projection suitable for State Plane Coordinates. |
Method Summary | |
---|---|
boolean |
hasInverse()
Returns true if this projection has an inverse |
void |
initialize()
Initialize the projection. |
Point2D.Double |
project(double lam,
double phi,
Point2D.Double xy)
The method which actually does the projection. |
Point2D.Double |
projectInverse(double x,
double y,
Point2D.Double lp)
The method which actually does the inverse projection. |
String |
toString()
|
Methods inherited from class com.jhlabs.map.proj.CylindricalProjection |
---|
isRectilinear |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObliqueMercatorProjection()
public ObliqueMercatorProjection(Ellipsoid ellipsoid, double lon_0, double lat_0, double alpha, double k, double x_0, double y_0)
Method Detail |
---|
public void initialize()
Projection
initialize
in class Projection
public Point2D.Double project(double lam, double phi, Point2D.Double xy)
Projection
project
in class Projection
lam
- Longitude in radians.phi
- Latitude in radians.xy
- The projected point.
public Point2D.Double projectInverse(double x, double y, Point2D.Double lp)
Projection
projectInverse
in class Projection
public boolean hasInverse()
Projection
hasInverse
in class Projection
public String toString()
toString
in class CylindricalProjection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |