|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MapTransformer.Converter<T2>
Interface for the class converting from/to the user defined coordinate system and datum to/from WGS84.
Must be state less and thread safe.
Method Summary | |
---|---|
T2 |
createFromXY(double x,
double y)
Create a coordinate from a X/Y position. |
void |
fromWGS84(double lon,
double lat,
T2 result)
Convert the WGS84 (radians) into the coordinate system. |
double |
getX(T2 xy)
|
double |
getY(T2 xy)
|
void |
toWGS84(T2 coordinate,
java.awt.geom.Point2D.Double result)
Convert the coordinate system into WGS84 (radians). |
Method Detail |
---|
void fromWGS84(double lon, double lat, T2 result)
void toWGS84(T2 coordinate, java.awt.geom.Point2D.Double result)
result
- Where the result is put. Longitude in x and latitude in y.T2 createFromXY(double x, double y)
double getX(T2 xy)
double getY(T2 xy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |