Holds a full celestial Celestial object.
More...
#include <Celestial.hpp>
|
| Celestial ()=default |
|
| Celestial (const Cartesian &inCartesianVector) |
|
| Celestial (const NdArray< double > &inCartesianVector) |
|
| Celestial (const RA &inRA, const Dec &inDec) noexcept |
|
| Celestial (const Vec3 &inCartesianVector) |
|
| Celestial (double inRaDegrees, double inDecDegrees) |
|
| Celestial (double inX, double inY, double inZ) |
|
| Celestial (uint8 inRaHours, uint8 inRaMinutes, double inRaSeconds, Dec::Sign inSign, uint8 inDecDegreesWhole, uint8 inDecMinutes, double inDecSeconds) |
|
const Dec & | dec () const noexcept |
|
double | degreeSeperation (const Celestial &inOtherCelestial) const |
|
double | degreeSeperation (const NdArray< double > &inVector) const |
|
bool | operator!= (const Celestial &inRhs) const noexcept |
|
bool | operator== (const Celestial &inRhs) const noexcept |
|
void | print () const |
|
const RA & | ra () const noexcept |
|
double | radianSeperation (const Celestial &inOtherCelestial) const |
|
double | radianSeperation (const NdArray< double > &inVector) const |
|
std::string | str () const |
|
double | x () const noexcept |
|
NdArray< double > | xyz () const |
|
double | y () const noexcept |
|
double | z () const noexcept |
|
Holds a full celestial Celestial object.
◆ Celestial() [1/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
| ) |
|
|
default |
◆ Celestial() [2/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
double |
inRaDegrees, |
|
|
double |
inDecDegrees |
|
) |
| |
|
inline |
◆ Celestial() [3/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
uint8 |
inRaHours, |
|
|
uint8 |
inRaMinutes, |
|
|
double |
inRaSeconds, |
|
|
Dec::Sign |
inSign, |
|
|
uint8 |
inDecDegreesWhole, |
|
|
uint8 |
inDecMinutes, |
|
|
double |
inDecSeconds |
|
) |
| |
|
inline |
Constructor
- Parameters
-
inRaHours | |
inRaMinutes | |
inRaSeconds | |
inSign | |
inDecDegreesWhole | |
inDecMinutes | |
inDecSeconds | |
◆ Celestial() [4/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
const RA & |
inRA, |
|
|
const Dec & |
inDec |
|
) |
| |
|
inlinenoexcept |
◆ Celestial() [5/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
double |
inX, |
|
|
double |
inY, |
|
|
double |
inZ |
|
) |
| |
|
inline |
◆ Celestial() [6/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
const Cartesian & |
inCartesianVector | ) |
|
|
inline |
◆ Celestial() [7/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
const Vec3 & |
inCartesianVector | ) |
|
|
inline |
◆ Celestial() [8/8]
nc::coordinates::reference_frames::Celestial::Celestial |
( |
const NdArray< double > & |
inCartesianVector | ) |
|
|
inline |
◆ dec()
const Dec & nc::coordinates::reference_frames::Celestial::dec |
( |
| ) |
const |
|
inlinenoexcept |
Returns the Dec object
- Returns
- Dec
◆ degreeSeperation() [1/2]
double nc::coordinates::reference_frames::Celestial::degreeSeperation |
( |
const Celestial & |
inOtherCelestial | ) |
const |
|
inline |
Returns the degree seperation between the two Celestials
- Parameters
-
- Returns
- degrees
◆ degreeSeperation() [2/2]
double nc::coordinates::reference_frames::Celestial::degreeSeperation |
( |
const NdArray< double > & |
inVector | ) |
const |
|
inline |
Returns the degree seperation between the Celestial and the input vector
- Parameters
-
- Returns
- degrees
◆ operator!=()
bool nc::coordinates::reference_frames::Celestial::operator!= |
( |
const Celestial & |
inRhs | ) |
const |
|
inlinenoexcept |
Not equality operator
- Parameters
-
- Returns
- bool
◆ operator==()
bool nc::coordinates::reference_frames::Celestial::operator== |
( |
const Celestial & |
inRhs | ) |
const |
|
inlinenoexcept |
Equality operator
- Parameters
-
- Returns
- bool
◆ print()
void nc::coordinates::reference_frames::Celestial::print |
( |
| ) |
const |
|
inline |
◆ ra()
const RA & nc::coordinates::reference_frames::Celestial::ra |
( |
| ) |
const |
|
inlinenoexcept |
Returns the RA object
- Returns
- RA
◆ radianSeperation() [1/2]
double nc::coordinates::reference_frames::Celestial::radianSeperation |
( |
const Celestial & |
inOtherCelestial | ) |
const |
|
inline |
Returns the radian seperation between the two Celestials
- Parameters
-
- Returns
- radians
◆ radianSeperation() [2/2]
double nc::coordinates::reference_frames::Celestial::radianSeperation |
( |
const NdArray< double > & |
inVector | ) |
const |
|
inline |
Returns the radian seperation between the Celestial and the input vector
- Parameters
-
- Returns
- radians
◆ str()
std::string nc::coordinates::reference_frames::Celestial::str |
( |
| ) |
const |
|
inline |
Returns Celestial as a string representation
- Returns
- string
◆ x()
double nc::coordinates::reference_frames::Celestial::x |
( |
| ) |
const |
|
inlinenoexcept |
Returns the cartesian x value
- Returns
- x
◆ xyz()
NdArray< double > nc::coordinates::reference_frames::Celestial::xyz |
( |
| ) |
const |
|
inline |
◆ y()
double nc::coordinates::reference_frames::Celestial::y |
( |
| ) |
const |
|
inlinenoexcept |
Returns the cartesian y value
- Returns
- y
◆ z()
double nc::coordinates::reference_frames::Celestial::z |
( |
| ) |
const |
|
inlinenoexcept |
Returns the cartesian z value
- Returns
- z
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
inStream, |
|
|
const Celestial & |
inCoord |
|
) |
| |
|
friend |
Ostream operator
- Parameters
-
- Returns
- std::ostream
The documentation for this class was generated from the following file: