1#ifndef _WINC_EARTHPOINTS 
    2#define _WINC_EARTHPOINTS 
    5#include <WXP/EarthPoint.h> 
    6#include <WXP/EarthRange.h> 
   26      inline int clear(){ num = 0; 
return 1; };
 
   28      int add( 
float lat, 
float lon );
 
   32         lat[num] = ept.
lat; lon[num] = ept.
lon; num++; 
return 1; };
 
   35      inline int add1( 
int ind ){ 
 
   36         lat[num] = lat[ind]; lon[num] = lon[ind]; num++; 
return 1; };
 
   37      int set( 
int ind, 
float rlat, 
float rlon );
 
   43         return ind >= num || ind < 0 ? 
Const::MISS : lat[ind]; };
 
   46         return ind >= num || ind < 0 ? 
Const::MISS : lon[ind]; };
 
   48      inline float getLat1( 
int ind ){ 
return lat[ind]; };
 
   50      inline float getLon1( 
int ind ){ 
return lon[ind]; };
 
   53      int offset( 
int ind, 
float rlat, 
float rlon );
 
static const int MISS
Definition Const.h:7
 
This class creates an array a earth points (lat, lon)
Definition EarthPoints.h:9
 
int expand(int size)
Definition EarthPoints.cc:112
 
int copy(const EarthPoints &data)
Definition EarthPoints.cc:97
 
~EarthPoints()
Definition EarthPoints.cc:63
 
EarthPoints operator=(const EarthPoints &data)
Definition EarthPoints.cc:84
 
float getLon1(int ind)
Definition EarthPoints.h:50
 
EarthPoints()
Definition EarthPoints.cc:44
 
float getLat(int ind)
Definition EarthPoints.h:42
 
int add1(int ind)
Definition EarthPoints.h:35
 
int print()
Definition EarthPoints.cc:277
 
int getNum()
Definition EarthPoints.h:52
 
int add1(EarthPoint ept)
Definition EarthPoints.h:31
 
int add(float lat, float lon)
Definition EarthPoints.cc:141
 
int clear()
Definition EarthPoints.h:26
 
int get(int ind, EarthPoint &ept)
Definition EarthPoints.cc:200
 
int set(int ind, float rlat, float rlon)
Definition EarthPoints.cc:176
 
float getLat1(int ind)
Definition EarthPoints.h:48
 
float getLon(int ind)
Definition EarthPoints.h:45
 
int offset(int ind, float rlat, float rlon)
Definition EarthPoints.cc:225
 
int within(EarthPoint &ept)
Definition EarthPoints.cc:253
 
int init()
Definition EarthPoints.cc:18
 
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
 
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5
 
float lat
Definition EarthPoint.h:6
 
float lon
Definition EarthPoint.h:7
 
This struct defines a range of latitudes and longitudes.
Definition EarthRange.h:5