Class RadarMN2.MercatorProjectionTile
java.lang.Object
de.kaffeemitkoffein.tinyweatherforecastgermany.RadarMN2.MercatorProjection
de.kaffeemitkoffein.tinyweatherforecastgermany.RadarMN2.MercatorProjectionTile
- Enclosing class:
RadarMN2
-
Constructor Summary
ConstructorsConstructorDescriptionMercatorProjectionTile(double widthPixels, double x0coord, double y0coord, double x1coord, double y1coord) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetXCoord(double x) doublegetXPixel(double xcoord) doublegetYCoord(double y) doublegetYPixel(double ycoord) voidsetScaleFactor(double scaleFactor) Methods inherited from class de.kaffeemitkoffein.tinyweatherforecastgermany.RadarMN2.MercatorProjection
getX, getY, getYraw
-
Constructor Details
-
MercatorProjectionTile
public MercatorProjectionTile(double widthPixels, double x0coord, double y0coord, double x1coord, double y1coord)
-
-
Method Details
-
setScaleFactor
public void setScaleFactor(double scaleFactor) -
getXPixel
public double getXPixel(double xcoord) -
getYPixel
public double getYPixel(double ycoord) -
getXCoord
public double getXCoord(double x) - Overrides:
getXCoordin classRadarMN2.MercatorProjection
-
getYCoord
public double getYCoord(double y) - Overrides:
getYCoordin classRadarMN2.MercatorProjection
-