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) double
double
int
int
double
double
PixelsToGeo
(PointF pixel) PixelsToGeo
(Point2D pixel) void
set_normalize
(boolean value) void
UpdateExtents
(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:
PixelsToGeo
in interfaceIPointConversion
-
GeoToPixels
- Specified by:
GeoToPixels
in interfaceIPointConversion
-
PixelsToGeo
- Specified by:
PixelsToGeo
in interfaceIPointConversion
-
GeoToPixels
- Specified by:
GeoToPixels
in interfaceIPointConversion
-
getPixelWidth
-
getPixelHeight
-
getUpperLat
-
getLowerLat
-
getLeftLon
-
getRightLon
-