VAPOR3 3.9.4
GeoTileMercator.h
Go to the documentation of this file.
1#ifndef GeoTileMercator_h_
2#define GeoTileMercator_h_
3#ifdef _WINDOWS
4 #pragma warning(disable : 4251)
5#endif
6#include "GeoTile.h"
7#include <vapor/common.h>
31
32namespace VAPoR {
34public:
42 GeoTileMercator(size_t tile_width, size_t tile_height, size_t pixelsize) : GeoTile(tile_width, tile_height, pixelsize, -180.0, -85.05112878, 180.0, 85.05112878) {}
43
44 GeoTileMercator(size_t tile_width, size_t tile_height, size_t pixelsize, double min_lon, double min_lat, double max_lon, double max_lat)
45 : GeoTile(tile_width, tile_height, pixelsize, min_lon, min_lat, max_lon, max_lat)
46 {
47 }
48
50 //
51 virtual void LatLongToPixelXY(double lon, double lat, int lod, size_t &pixelX, size_t &pixelY) const;
52
54 //
55 virtual void PixelXYToLatLon(size_t pixelX, size_t pixelY, int lod, double &lon, double &lat) const;
56};
57}; // namespace VAPoR
58#endif
GeoTileMercator(size_t tile_width, size_t tile_height, size_t pixelsize)
GeoTileMercator(size_t tile_width, size_t tile_height, size_t pixelsize, double min_lon, double min_lat, double max_lon, double max_lat)
virtual void PixelXYToLatLon(size_t pixelX, size_t pixelY, int lod, double &lon, double &lat) const
copydoc GeoTile::PixelXYToLatLon()
virtual void LatLongToPixelXY(double lon, double lat, int lod, size_t &pixelX, size_t &pixelY) const
copydoc GeoTile::LatLongToPixelXY()
#define RENDER_API
Definition: common.h:78