Package armyc2.c5isr.web.render
Class PointConverter
java.lang.Object
armyc2.c5isr.web.render.PointConverter
- All Implemented Interfaces:
IPointConversion
-
Constructor Summary
ConstructorsConstructorDescriptionPointConverter
(double controlLong, double controlLat, double scale) PointConverter
(double left, double top, double right, double bottom, double scale) add constructor to handle when earth is flipped about it's X axis (South is on top) -
Method Summary
Modifier and TypeMethodDescriptionGeoToPixels
(PointF coord) GeoToPixels
(Point2D coord) PixelsToGeo
(PointF pixel) PixelsToGeo
(Point pixel) PixelsToGeo
(Point2D pixel) void
set_normalize
(boolean value)
-
Constructor Details
-
PointConverter
-
PointConverter
add constructor to handle when earth is flipped about it's X axis (South is on top)- Parameters:
left
-right
-top
-bottom
-scale
-
-
-
Method Details
-
PixelsToGeo
- Specified by:
PixelsToGeo
in interfaceIPointConversion
-
GeoToPixels
- Specified by:
GeoToPixels
in interfaceIPointConversion
-
set_normalize
-
PixelsToGeo
-
PixelsToGeo
- Specified by:
PixelsToGeo
in interfaceIPointConversion
-
GeoToPixels
- Specified by:
GeoToPixels
in interfaceIPointConversion
-