4#include <WXP/EarthPoints.h>
20 inline int setType(
int rtype ){
type = rtype;
return 1; };
23 inline int setName(
const char *rname ){
StrLib::copy(
name, 100, rname );
return 1; };
24 inline int clearPoints(){
return epts.
clear(); };
25 inline int addPoint( EarthPoint &ept ){
return epts.
add( ept ); };
26 inline int getNum(){
return epts.
getNum(); };
27 inline EarthPoint getPoint(
int ind ){
return epts.
get( ind ); };
28 inline EarthRange getRange(){
return epts.getRange(); };
This class creates an array a earth points (lat, lon)
Definition EarthPoints.h:9
int getNum()
Definition EarthPoints.h:52
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
static int copy(char *s1, int len1, const char s2)
Definition StrLib.cc:506
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores KML data.
Definition KmlData.h:8
int print()
Definition KmlData.cc:32
char name[100]
Definition KmlData.h:10
int type
Definition KmlData.h:9
const char * getName()
Definition KmlData.h:22
int getType()
Definition KmlData.h:19
int init()
Definition KmlData.cc:22