Package armyc2.c5isr.renderer.utilities
Class PointConversion
java.lang.Object
armyc2.c5isr.renderer.utilities.PointConversion
- All Implemented Interfaces:
IPointConversion
-
Constructor Summary
ConstructorsConstructorDescriptionPointConversion(int pixelWidth, int pixelHeight, double geoTop, double geoLeft, double geoBottom, double geoRight) -
Method Summary
Modifier and TypeMethodDescriptionGeoToPixels(PointF coord) GeoToPixels(Point2D coord) doubledoubleintintdoubledoublePixelsToGeo(PointF pixel) PixelsToGeo(Point2D pixel) voidset_normalize(boolean value) voidUpdateExtents(int pixelWidth, int pixelHeight, double geoTop, double geoLeft, double geoBottom, double geoRight)
-
Constructor Details
-
PointConversion
public PointConversion(int pixelWidth, int pixelHeight, double geoTop, double geoLeft, double geoBottom, double geoRight)
-
-
Method Details
-
set_normalize
-
UpdateExtents
public void UpdateExtents(int pixelWidth, int pixelHeight, double geoTop, double geoLeft, double geoBottom, double geoRight) -
PixelsToGeo
- Specified by:
PixelsToGeoin interfaceIPointConversion
-
GeoToPixels
- Specified by:
GeoToPixelsin interfaceIPointConversion
-
PixelsToGeo
- Specified by:
PixelsToGeoin interfaceIPointConversion
-
GeoToPixels
- Specified by:
GeoToPixelsin interfaceIPointConversion
-
getPixelWidth
-
getPixelHeight
-
getUpperLat
-
getLowerLat
-
getLeftLon
-
getRightLon
-