#include <limits>
#include <iostream>
#include <boost/math/constants/constants.hpp>
#include <cmath>
#include <boost/static_assert.hpp>
Go to the source code of this file.
|
double | lsst.afw.geom::degToRad (double x) |
|
double | lsst.afw.geom::radToDeg (double x) |
|
double | lsst.afw.geom::radToArcsec (double x) |
|
double | lsst.afw.geom::radToMas (double x) |
|
double | lsst.afw.geom::arcsecToRad (double x) |
|
double | lsst.afw.geom::masToRad (double x) |
|
const Angle | lsst.afw.geom::operator+ (Angle const a, Angle const d) |
|
const Angle | lsst.afw.geom::operator- (Angle const a, Angle const d) |
|
const Angle | lsst.afw.geom::operator* (Angle const a, Angle const d) |
|
const Angle | lsst.afw.geom::operator* (Angle const a, double d) |
|
const Angle | lsst.afw.geom::operator* (double d, Angle const a) |
|
const Angle | lsst.afw.geom::operator* (Angle const a, int d) |
|
const Angle | lsst.afw.geom::operator* (int d, Angle const a) |
|
const Angle | lsst.afw.geom::operator/ (Angle const a, int d) |
|
const Angle | lsst.afw.geom::operator/ (Angle const a, double d) |
|
template<typename T > |
double | lsst.afw.geom::operator/ (T const lhs, Angle const rhs) |
|
template<typename T > |
bool | lsst.afw.geom::isAngle (T) |
| Allow a user to check if they have an angle (yes; they could do this themselves via trivial TMP) More...
|
|
bool | lsst.afw.geom::isAngle (Angle const &) |
|
template<typename T > |
const Angle | lsst.afw.geom::operator* (T lhs, AngleUnit const rhs) |
| Use AngleUnit to convert a POD (e.g. int, double) to an Angle; e.g. 180*afwGeomdegrees. More...
|
|
std::ostream & | lsst.afw.geom::operator<< (std::ostream &s, Angle const a) |
|
Value:bool operator OP (
const Angle& rhs ) { \
return _val OP rhs._val; \
}
lsst::afw::geom::Angle Angle
Definition at line 222 of file Angle.h.
Value:
return
Angle(static_cast<double>(a) OP static_cast<double>(d)); \
}
lsst::afw::geom::Angle Angle
Definition at line 250 of file Angle.h.
#define ANGLE_OP_TYPE |
( |
|
OP, |
|
|
|
TYPE |
|
) |
| |
Value:inline const Angle operator OP(
Angle const a, TYPE d) { \
return
Angle(static_cast<double>(a) OP d); \
} \
\
inline
const Angle operator OP(TYPE d,
Angle const a) { \
return
Angle(d OP static_cast<double>(a)); \
}
lsst::afw::geom::Angle Angle
Definition at line 255 of file Angle.h.
#define ANGLE_OPUP_TYPE |
( |
|
OP, |
|
|
|
TYPE |
|
) |
| |
Value:Angle&
operator OP(TYPE
const& d) { \
_val OP d; \
return *this; \
}
lsst::afw::geom::Angle Angle
Definition at line 207 of file Angle.h.