LSST Applications 29.0.0,g04dff08e69+0440ebfea4,g0fba68d861+39c7333094,g1ec0fe41b4+f536777771,g1fd858c14a+a9301854fb,g35bb328faa+fcb1d3bbc8,g4af146b050+f5e27e7465,g4d2262a081+0d1d1daf5f,g53246c7159+fcb1d3bbc8,g5a012ec0e7+3632fc3ff3,g60b5630c4e+197d614feb,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8352419a5c+fcb1d3bbc8,g87b7deb4dc+1a86cc64c8,g8852436030+620f385cd0,g89139ef638+ed4b5058f4,g9125e01d80+fcb1d3bbc8,g94187f82dc+197d614feb,g95f8561545+197d614feb,g989de1cb63+ed4b5058f4,g9d31334357+197d614feb,g9f33ca652e+a02529f034,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+c9f6ee41af,gb58c049af0+f03b321e39,gb89ab40317+ed4b5058f4,gc0bb628dac+6dec70b359,gcf25f946ba+620f385cd0,gcf6002c91b+54dde5f3ac,gd6cbbdb0b4+bb83cc51f8,gde0f65d7ad+588c1dba32,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf23fb2af72+b9bd8e2eff,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4
LSST Data Management Base Package
|
A class used to convert scalar POD types such as double
to Angle.
More...
#include <Angle.h>
Public Member Functions | |
constexpr | AngleUnit (double val) |
Define a new angle unit. | |
constexpr bool | operator== (AngleUnit const &rhs) const noexcept |
Test if two units are the same. | |
std::size_t | hash_value () const noexcept |
Return a hash of this object. | |
Friends | |
class | Angle |
template<typename T> | |
constexpr Angle | operator* (T lhs, AngleUnit rhs) |
Use AngleUnit to convert a POD (e.g. int, double) to an Angle; e.g. 180*degrees. | |
A class used to convert scalar POD types such as double
to Angle.
For example, given the predefined AngleUnit degrees:
Angle pi = 180*degrees;
is equivalent to
Angle pi(180, degrees);
|
inlineexplicitconstexpr |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
Use AngleUnit to convert a POD (e.g. int, double) to an Angle; e.g. 180*degrees.
lhs | the value to convert |
rhs | the conversion coefficient |
Definition at line 402 of file Angle.h.