![]() |
NumCpp
2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Holds a right ascension object. More...
#include <Celestial.hpp>
Public Member Functions | |
RA ()=default | |
RA (double inDegrees) | |
RA (uint8 inHours, uint8 inMinutes, double inSeconds) noexcept | |
double | degrees () const noexcept |
uint8 | hours () const noexcept |
uint8 | minutes () const noexcept |
bool | operator!= (const RA &inRhs) const noexcept |
bool | operator== (const RA &inRhs) const noexcept |
void | print () const |
double | radians () const noexcept |
double | seconds () const noexcept |
std::string | str () const |
Friends | |
std::ostream & | operator<< (std::ostream &inStream, const RA &inRa) |
Holds a right ascension object.
|
default |
Default Constructor
|
inlineexplicit |
Constructor
inDegrees |
|
inlinenoexcept |
Constructor
inHours | |
inMinutes | |
inSeconds |
|
inlinenoexcept |
Get the degrees value
|
inlinenoexcept |
Get the hour value
|
inlinenoexcept |
Get the minute value
Not equality operator
inRhs |
Equality operator
inRhs |
|
inline |
Prints the RA object to the console
|
inlinenoexcept |
Get the radians value
|
inlinenoexcept |
Get the seconds value
|
inline |
Return the RA object as a string representation
Ostream operator
inStream | |
inRa |