Cartensian coordinates.
More...
#include <Cartesian.hpp>
Inherited by nc::coordinates::reference_frames::ECEF, nc::coordinates::reference_frames::ENU, and nc::coordinates::reference_frames::NED.
|
double | x { 0. } |
|
double | y { 0. } |
|
double | z { 0. } |
|
◆ Cartesian() [1/7]
nc::coordinates::Cartesian::Cartesian |
( |
| ) |
|
|
defaultnoexcept |
◆ Cartesian() [2/7]
constexpr nc::coordinates::Cartesian::Cartesian |
( |
double |
inX, |
|
|
double |
inY, |
|
|
double |
inZ = 0. |
|
) |
| |
|
inlineconstexprnoexcept |
Constructor.
- Parameters
-
inX | the x component |
inY | the y component |
inZ | the z component |
◆ Cartesian() [3/7]
nc::coordinates::Cartesian::Cartesian |
( |
const Vec2 & |
inCartesianVector | ) |
|
|
inline |
Default Constructor.
- Parameters
-
◆ Cartesian() [4/7]
nc::coordinates::Cartesian::Cartesian |
( |
const Vec3 & |
inCartesianVector | ) |
|
|
inline |
Default Constructor.
- Parameters
-
◆ Cartesian() [5/7]
nc::coordinates::Cartesian::Cartesian |
( |
const NdArray< double > & |
inCartesianVector | ) |
|
|
inline |
◆ Cartesian() [6/7]
nc::coordinates::Cartesian::Cartesian |
( |
const Cartesian & |
other | ) |
|
|
defaultnoexcept |
Copy Constructor.
- Parameters
-
◆ Cartesian() [7/7]
nc::coordinates::Cartesian::Cartesian |
( |
Cartesian && |
other | ) |
|
|
defaultnoexcept |
Move Constructor.
- Parameters
-
◆ ~Cartesian()
virtual nc::coordinates::Cartesian::~Cartesian |
( |
| ) |
|
|
virtualdefault |
◆ operator!=()
bool nc::coordinates::Cartesian::operator!= |
( |
const Cartesian & |
other | ) |
const |
|
inlinenoexcept |
Non-Equality Operator.
- Parameters
-
- Returns
- bool true if not equal equal
◆ operator=() [1/2]
Move Assignement Operator.
- Parameters
-
◆ operator=() [2/2]
Copy Assignement Operator.
- Parameters
-
◆ operator==()
bool nc::coordinates::Cartesian::operator== |
( |
const Cartesian & |
other | ) |
const |
|
inlinenoexcept |
Non-Equality Operator.
- Parameters
-
- Returns
- bool true if not equal equal
◆ xHat()
static Cartesian nc::coordinates::Cartesian::xHat |
( |
| ) |
|
|
inlinestaticnoexcept |
x Unit Vector
- Returns
- unit vector in x direction
◆ yHat()
static Cartesian nc::coordinates::Cartesian::yHat |
( |
| ) |
|
|
inlinestaticnoexcept |
y Unit Vector
- Returns
- unit vector in y direction
◆ zHat()
static Cartesian nc::coordinates::Cartesian::zHat |
( |
| ) |
|
|
inlinestaticnoexcept |
z Unit Vector
- Returns
- unit vector in z direction
double nc::coordinates::Cartesian::x { 0. } |
double nc::coordinates::Cartesian::y { 0. } |
double nc::coordinates::Cartesian::z { 0. } |
The documentation for this class was generated from the following file: