LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#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.
Classes | |
class | lsst::afw::geom::AngleUnit |
A class used to convert scalar POD types such as double to Angle. More... | |
class | lsst::afw::geom::Angle |
Namespaces | |
lsst | |
Estimate image backgrounds. | |
lsst::afw | |
lsst::afw::geom | |
Macros | |
#define | ANGLE_OPUP_TYPE(OP, TYPE) |
#define | ANGLE_COMP(OP) |
#define | ANGLE_OP(OP) |
#define | ANGLE_OP_TYPE(OP, TYPE) |
Functions | |
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) |
Variables | |
double const | lsst::afw::geom::PI = boost::math::constants::pi<double>() |
The ratio of a circle's circumference to diameter. More... | |
double const | lsst::afw::geom::TWOPI = boost::math::constants::pi<double>() * 2.0 |
double const | lsst::afw::geom::HALFPI = boost::math::constants::pi<double>() * 0.5 |
double const | lsst::afw::geom::ONE_OVER_PI = 1.0 / boost::math::constants::pi<double>() |
double const | lsst::afw::geom::SQRTPI = sqrt(boost::math::constants::pi<double>()) |
double const | lsst::afw::geom::INVSQRTPI = 1.0/sqrt(boost::math::constants::pi<double>()) |
double const | lsst::afw::geom::ROOT2 = boost::math::constants::root_two<double>() |
AngleUnit const | lsst::afw::geom::radians = AngleUnit(1.0) |
constant with units of radians More... | |
AngleUnit const | lsst::afw::geom::degrees = AngleUnit(PI/180.0) |
AngleUnit const | lsst::afw::geom::hours = AngleUnit(PI*15.0/180.0) |
AngleUnit const | lsst::afw::geom::arcminutes = AngleUnit(PI/60/180.0) |
AngleUnit const | lsst::afw::geom::arcseconds = AngleUnit(PI/180.0/3600.0) |
Angle const | lsst::afw::geom::NullAngle = Angle(-1000000., degrees) |
#define ANGLE_COMP | ( | OP | ) |
#define ANGLE_OP | ( | OP | ) |
#define ANGLE_OP_TYPE | ( | OP, | |
TYPE | |||
) |
#define ANGLE_OPUP_TYPE | ( | OP, | |
TYPE | |||
) |