12 Wind(
float d,
float s );
15 int set(
float d,
float s );
18 inline int setDir(
float val ){ dir = val;
return 1; };
20 inline float getDir(){
return dir; };
22 inline int setSpd(
float val ){ spd = val;
return 1; };
24 inline float getSpd(){
return spd; };
25 int setVect(
float u,
float v );
This structure defines a vector quantity (x,y)
Definition Vect.h:5
This structure defines wind values (dir,spd)
Definition Wind.h:7
int print()
Definition Wind.cc:104
int setSpd(float val)
Definition Wind.h:22
float getDir()
Definition Wind.h:20
Wind()
Definition Wind.cc:21
int setDir(float val)
Definition Wind.h:18
int set(float d, float s)
Definition Wind.cc:48
Vect toVect()
Definition Wind.cc:94
int init()
Definition Wind.cc:28
float getSpd()
Definition Wind.h:24
static Wind interp(Wind &w1, Wind &w2, float p1, float p2, float pr)
Definition Wind.cc:134
int setVect(float u, float v)
Definition Wind.cc:68
All WXP classes fall under the WXP namespace.
Definition Angle.h:4