|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for transformation between geographic coordinate systems and projected coordinate systems.
Method Summary | |
boolean |
forward(double[] lonlat,
double[] xy)
Forward transform. |
GeodeticDatum |
getGeodeticDatum()
Gets the geodetic datum used by this projection. |
int |
getID()
Gets the (internal) ID for this projection. |
java.lang.String |
getName()
Gets the name for this Projection. |
XFormParameters |
getParameters()
Gets the parameters used by this projection. |
boolean |
inverse(double[] xy,
double[] lonlat)
Inverse transfrom. |
boolean |
sameAs(Projection prj2)
Checks if this projection is effectively the same as prj2. |
void |
setGeodeticDatum(GeodeticDatum gd)
Gets the geodetic datum used by this projection. |
void |
setID(int id)
Gets the (internal) ID for this projection. |
void |
setName(java.lang.String name)
Gets the name for this Projection. |
void |
setParameters(XFormParameters parms)
Gets the parameters used by this projection. |
Method Detail |
public java.lang.String getName()
public int getID()
public XFormParameters getParameters()
public GeodeticDatum getGeodeticDatum()
public void setName(java.lang.String name)
public void setID(int id)
public void setParameters(XFormParameters parms)
public void setGeodeticDatum(GeodeticDatum gd)
public boolean forward(double[] lonlat, double[] xy)
lonlat
- the double array for lon/lat.
lonlat[0] is longitude, while
lonlat[1] is latitude.public boolean inverse(double[] xy, double[] lonlat)
lonlat
- the double array for lon/lat.
lonlat[0] is longitude, while
lonlat[1] is latitude.public boolean sameAs(Projection prj2)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |