Wind with a Speed and Direction.
More...
#include <Weather.h>
|
|
auto | operator<=> (const Wind &rhs) const =default |
| |
| constexpr MathSize | heading () const noexcept |
| | Direction wind is going towards.
|
| |
| MathSize | wsvX () const noexcept |
| | X component of wind vector (km/h)
|
| |
| MathSize | wsvY () const noexcept |
| | Y component of wind vector (km/h)
|
| |
|
|
static consteval Wind | Zero () |
| |
|
static consteval Wind | Invalid () |
| |
|
|
static constexpr auto | units {std::tuple{Speed::units, Direction::units}} |
| |
◆ heading()
| MathSize fs::Wind::heading |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ wsvX()
| MathSize fs::Wind::wsvX |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
X component of wind vector (km/h)
- Returns
- X component of wind vector (km/h)
◆ wsvY()
| MathSize fs::Wind::wsvY |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Y component of wind vector (km/h)
- Returns
- Y component of wind vector (km/h)
The documentation for this struct was generated from the following file: