This structure defines wind values (dir,spd). More...
#include "../include/Wind.h"
Public Member Functions | |
| Wind (float d, float s) | |
| int | init () |
| int | set (float d, float s) |
| int | set (Vect &v) |
| int | setVect (float u, float v) |
| int | setDir (float val) |
| float | getDir () |
| int | setSpd (float val) |
| float | getSpd () |
| int | print () |
| int | toVect (Vect &vect) |
| Vect | toVect () |
Static Public Member Functions | |
| static Vect | toVect (float dir, float spd) |
| static Wind | interp (Wind &w1, Wind &w2, float p1, float p2, float pr) |
Public Attributes | |
| float | dir |
| float | spd |
This structure defines wind values (dir,spd).
1.6.1