|
World Ocean Simulation System (WOSS) library
|
Class that represents cartesian coordinates. More...
#include <coordinates-definitions.h>

Public Member Functions | |
| constexpr | CartCoords () |
| constexpr | CartCoords (double in_x, double in_y, double in_z, CoordZSpheroidType in_type) |
| constexpr double | getX () const |
| constexpr double | getY () const |
| constexpr double | getZ () const |
| constexpr CoordZSpheroidType | getType () const |
Protected Attributes | |
| double | x |
| double | y |
| X-asis value in meters. | |
| double | z |
| Y-asis value in meters. | |
| CoordZSpheroidType | type |
| Z-asis value in meters. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CartCoords &instance) |
Class that represents cartesian coordinates.
Class that represents cartesian coordinates
|
inlineconstexpr |
CartCoords default constructor.
|
inlineconstexpr |
Coord constructor.
| in_x | number of meters along the X axis |
| in_y | number of meters along the X axis |
| in_z | number of meters along the X axis |
| in_type | Spheroid model that has been used |
|
inlineconstexpr |
Returns the CoordZSpheroidType used for computation
References type.
Referenced by woss::CoordZ::getCoordZFromCartesianCoords().
|
inlineconstexpr |
Returns the number of meters along the X axis
References x.
Referenced by woss::CoordZ::getCartDistance(), woss::CoordZ::getCartRelAzimuth(), woss::CoordZ::getCartX(), woss::CoordZ::getCoordZAlongCartLine(), and woss::CoordZ::getCoordZFromCartesianCoords().
|
inlineconstexpr |
Returns the number of meters along the Y axis
References y.
Referenced by woss::CoordZ::getCartDistance(), woss::CoordZ::getCartRelAzimuth(), woss::CoordZ::getCartY(), woss::CoordZ::getCoordZAlongCartLine(), and woss::CoordZ::getCoordZFromCartesianCoords().
|
inlineconstexpr |
Returns the number of meters along the z axis
References z.
Referenced by woss::CoordZ::getCartDistance(), woss::CoordZ::getCartRelZenith(), woss::CoordZ::getCartZ(), woss::CoordZ::getCoordZAlongCartLine(), and woss::CoordZ::getCoordZFromCartesianCoords().
|
friend |
<< operator
| os | left operand ostream reference |
| instance | right operand const CartCoords reference |
|
protected |
Z-asis value in meters.
Referenced by getType().
|
protected |
Referenced by getX().
|
protected |
X-asis value in meters.
Referenced by getY().
|
protected |
Y-asis value in meters.
Referenced by getZ().