public class Windspeed extends Object
Contact: Don Brutzman (web.nps.navy.mil/~brutzman) brutzman@nps.navy.mil
Bathymetry,
EnvironmentalData,
MetcastClientMain,
MetcastTestClient,
ModelOutputFormatter,
SeawaterTemp,
SceneGenerator,
SonarSource,
SignificantWaveHeight,
SonarTarget,
SoundSpeed| Modifier and Type | Field and Description |
|---|---|
double |
directionDegrees
direction specified in radian where 0 refers to west=>east in degrees
|
double |
directionRadians
direction specified in radian where 0 refers to west=>east in radians
|
| Constructor and Description |
|---|
Windspeed(double u,
double v)
Creates a new instance of ComputeWindspeed
|
Windspeed(String u,
String v)
Creates a new instance of ComputeWindspeed
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDirectionDegrees()
Returns wind direction is coming FROM.
|
double |
getDirectionDegreesCCW()
Returns angle in degrees from +U
|
double |
getDirectionRadians()
Return angle in radians from +U
|
double |
getUComponent()
Gets U-component of wind vector
|
double |
getVComponent()
gets V-component of wind vector
|
double |
getVelocity()
Gets velocity wind vector
|
public double directionRadians
public double directionDegrees
public Windspeed(double u,
double v)
u - The north to south component of wind speed (in m/s).v - The west to east component of wind speed (in m/s).public double getUComponent()
public double getVComponent()
public double getVelocity()
public double getDirectionRadians()
public double getDirectionDegreesCCW()
public double getDirectionDegrees()