Go to the documentation of this file.
39 #ifndef GNSSTK_ANGLE_HPP
40 #define GNSSTK_ANGLE_HPP
63 explicit Angle(
double s,
double c);
94 inline double rad()
const
98 inline double deg()
const
123 explicit Angle(
int,
int);
124 explicit Angle(
long,
long);
125 explicit Angle(
unsigned,
unsigned);
126 explicit Angle(
unsigned long,
unsigned long);
132 s << std::setprecision(20) <<
"rad:" << a.
rad() <<
",deg:" << a.
deg()
133 <<
",semi-circles:" << a.
semicirc() <<
",sin:" << a.
sin() <<
",cos:"
134 << a.
cos() <<
",tan:" << a.
tan();
152 #endif // GNSSTK_ANGLE_HPP
double rad() const
Get the angle in radians.
double semicirc() const
Get the angle in semi-circles (aka half-cycles).
double radians
The angle in radians.
double tan() const
Get the tangent of this angle.
std::string asString() const
double sin() const
Get the sine of this angle.
Angle()
Initialize all data to NaN.
double tangent
The tangent of the angle.
double semicircles
The angle in semi-circles (aka half-cycles).
double sin(gnsstk::Angle x)
@ Rad
Value is in radians.
double cos() const
Get the cosine of this angle.
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
Angle operator+(const Angle &right) const
double deg() const
Get the angle in degrees.
double cos(gnsstk::Angle x)
double degrees
The angle in degrees.
double tan(gnsstk::Angle x)
void setValue(double v, AngleType t)
Angle(double v, AngleType t)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:38