WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
EarthRange.h
1#ifndef _WINC_EARTHRANGE
2#define _WINC_EARTHRANGE
3
4namespace WXP {
5 struct EarthRange {
6 float min_lat;
7 float max_lat;
8 float min_lon;
9 float max_lon;
10
11 EarthRange();
12 EarthRange( float nlat, float xlat, float nlon, float xlon );
13 int init();
14 int set( float nlat, float xlat, float nlon, float xlon );
16 inline float getMinLat(){ return min_lat; };
18 inline float getMaxLat(){ return max_lat; };
20 inline float getMinLon(){ return min_lon; };
22 inline float getMaxLon(){ return max_lon; };
23 int print();
24 };
25}
26#endif
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines a range of latitudes and longitudes.
Definition EarthRange.h:5
float getMinLat()
Definition EarthRange.h:16
int print()
Definition EarthRange.cc:62
int set(float nlat, float xlat, float nlon, float xlon)
Definition EarthRange.cc:51
float getMinLon()
Definition EarthRange.h:20
float getMaxLon()
Definition EarthRange.h:22
int init()
Definition EarthRange.cc:36
EarthRange()
Definition EarthRange.cc:18
float getMaxLat()
Definition EarthRange.h:18