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

Public Member Functions | |
| CartCoords () | |
| CartCoords (double in_x, double in_y, double in_z, CoordZSpheroidType in_type) | |
| double | getX () const |
| double | getY () const |
| double | getZ () const |
| CoordZSpheroidType | getType () const |
| friend::std::ostream & | operator<< (::std::ostream &os, const CartCoords &instance) |
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. | |
Class that represents cartesian coordinates.
Class that represents cartesian coordinates
| CoordZ::CartCoords::CartCoords | ( | ) |
CartCoords default constructor.
| CoordZ::CartCoords::CartCoords | ( | double | in_x, |
| double | in_y, | ||
| double | in_z, | ||
| CoordZSpheroidType | in_type | ||
| ) |
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 |
|
inline |
Returns the CoordZSpheroidType used for computation
References type.
Referenced by woss::CoordZ::getCoordZFromCartesianCoords().
|
inline |
Returns the number of meters along the X axis
Referenced by woss::CoordZ::getCartDistance(), woss::CoordZ::getCartRelAzimuth(), woss::CoordZ::getCartX(), woss::CoordZ::getCoordZAlongCartLine(), and woss::CoordZ::getCoordZFromCartesianCoords().
|
inline |
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().
|
inline |
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::std::ostream & woss::CoordZ::CartCoords::operator<< | ( | ::std::ostream & | os, |
| const CartCoords & | instance | ||
| ) |
<< operator
| os | left operand ostream reference |
| instance | right operand const CartCoords reference |