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
Namespaces | Classes | Typedefs | Functions | Variables
lsst::afw::geom Namespace Reference

Namespaces

 detail
 
 ellipses
 
 polygon
 
 transformConfig
 
 utils
 
 xyTransformFactory
 

Classes

class  AffineTransform
 An affine coordinate transformation consisting of a linear transformation and an offset. More...
 
class  AngleUnit
 A class used to convert scalar POD types such as double to Angle. More...
 
class  Angle
 
class  Box2I
 An integer coordinate rectangle. More...
 
class  Box2D
 A floating-point coordinate rectangle geometry. More...
 
class  Point
 A coordinate class intended to represent absolute positions. More...
 
class  Extent
 A coordinate class intended to represent offsets and dimensions. More...
 
class  CoordinateBase
 A CRTP base class for coordinate objects. More...
 
class  CoordinateBase< Derived, T, 2 >
 Specialization of CoordinateBase for 2 dimensions. More...
 
class  CoordinateBase< Derived, T, 3 >
 Specialization of CoordinateBase for 3 dimensions. More...
 
class  CoordinateExpr
 A boolean coordinate. More...
 
class  ExtentBase
 
class  Extent< T, 2 >
 A coordinate class intended to represent offsets and dimensions (2-d specialization). More...
 
class  Extent< T, 3 >
 A coordinate class intended to represent offsets and dimensions (3-d specialization). More...
 
class  Functor
 Abstract base class for function objects. A default implementation of the inverse(...) member function is provided that computes the inverse of the function using the Newton-Raphson method. Concrete subclasses must therefore implement a derivative(...) member function. In cases where the function is analytically invertible, the inverse(...) function should be re-implemented in the subclass using the analytic expression. More...
 
class  LinearFunctor
 Concrete implementation of Functor subclass for testing. Implements a line: y = slope*x + intercept. More...
 
class  LinearTransform
 A 2D linear coordinate transformation. More...
 
class  PointBase
 
class  Point< T, 2 >
 A coordinate class intended to represent absolute positions (2-d specialization). More...
 
class  Point< T, 3 >
 A coordinate class intended to represent absolute positions (3-d specialization). More...
 
class  SeparableXYTransform
 A 2D transform for which the pixel distortions in the in the x- and y-directions are separable. The transformations in each direction are implemented as separate instances of concrete subclasses of the Functor base class. More...
 
class  Span
 A range of pixels within one row of an Image. More...
 
class  SpanPixelIterator
 An iterator that yields Point2I and increases in the x direction. More...
 
class  TransformMap
 
class  XYTransform
 Virtual base class for 2D transforms. More...
 
class  IdentityXYTransform
 A trivial XYTransform satisfying f(x)=x. More...
 
class  InvertedXYTransform
 Wrap an XYTransform, swapping forward and reverse transforms. More...
 
class  MultiXYTransform
 Wrap a sequence of multiple XYTransforms. More...
 
class  AffineXYTransform
 Wrap an AffineTransform. More...
 
class  RadialXYTransform
 A purely radial polynomial distortion, up to 6th order. More...
 

Typedefs

typedef Box2D BoxD = Box2D
 
typedef Box2I BoxI = Box2I
 
typedef CoordinateExpr< 2 > CoordinateExpr2
 
typedef CoordinateExpr< 3 > CoordinateExpr3
 
typedef Extent< int, 2 > ExtentI = Extent2I
 
typedef Extent< int, 2 > Extent2I
 
typedef Extent< int, 3 > Extent3I
 
typedef Extent< double, 2 > ExtentD = Extent2D
 
typedef Extent< double, 2 > Extent2D
 
typedef Extent< double, 3 > Extent3D
 
typedef Point< int, 2 > PointI = Point2I
 
typedef Point< int, 2 > Point2I
 
typedef Point< int, 3 > Point3I
 
typedef Point< double, 2 > PointD = Point2D
 
typedef Point< double, 2 > Point2D
 
typedef Point< double, 3 > Point3D
 

Functions

std::ostream & operator<< (std::ostream &os, lsst::afw::geom::AffineTransform const &transform)
 
AffineTransform makeAffineTransformFromTriple (Point2D const &p1, Point2D const &p2, Point2D const &p3, Point2D const &q1, Point2D const &q2, Point2D const &q3)
 
double degToRad (double x)
 
double radToDeg (double x)
 
double radToArcsec (double x)
 
double radToMas (double x)
 
double arcsecToRad (double x)
 
double masToRad (double x)
 
const Angle operator+ (Angle const a, Angle const d)
 
const Angle operator- (Angle const a, Angle const d)
 
const Angle operator* (Angle const a, Angle const d)
 
const Angle operator* (Angle const a, double d)
 
const Angle operator* (double d, Angle const a)
 
const Angle operator* (Angle const a, int d)
 
const Angle operator* (int d, Angle const a)
 
const Angle operator/ (Angle const a, int d)
 
const Angle operator/ (Angle const a, double d)
 
template<typename T >
double operator/ (T const lhs, Angle const rhs)
 
template<typename T >
bool isAngle (T)
 Allow a user to check if they have an angle (yes; they could do this themselves via trivial TMP) More...
 
bool isAngle (Angle const &)
 
template<typename T >
const Angle 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 & operator<< (std::ostream &s, Angle const a)
 
std::ostream & operator<< (std::ostream &os, Box2I const &box)
 
std::ostream & operator<< (std::ostream &os, Box2D const &box)
 
template<typename Derived , typename T , int N>
bool allclose (CoordinateBase< Derived, T, N > const &a, CoordinateBase< Derived, T, N > const &b, T rtol=static_cast< T >(1E-5), T atol=static_cast< T >(1E-8))
 
template<typename Derived , typename T , int N>
std::ostream & operator<< (std::ostream &os, CoordinateBase< Derived, T, N > const &coordinate)
 
template<int N>
bool all (CoordinateExpr< N > const &expr)
 Return true if all elements are true. More...
 
template<int N>
bool any (CoordinateExpr< N > const &expr)
 Return true if any elements are true. More...
 
template<int N>
Extent< int, N > truncate (Extent< double, N > const &input)
 
template<int N>
Extent< int, N > floor (Extent< double, N > const &input)
 
template<int N>
Extent< int, N > ceil (Extent< double, N > const &input)
 
template<typename T , int N>
Extent< T, N > operator* (T scalar, ExtentBase< T, N > const &rhs)
 
template<int N>
Extent< double, N > operator* (ExtentBase< int, N > const &lhs, double rhs)
 
template<int N>
void operator*= (ExtentBase< int, N > &lhs, double rhs)
 
template<int N>
Extent< double, N > operator/ (ExtentBase< int, N > const &lhs, double rhs)
 
template<int N>
void operator/= (ExtentBase< int, N > &lhs, double rhs)
 
template<int N>
Extent< double, N > operator* (double lhs, ExtentBase< int, N > const &rhs)
 
template<int N>
Extent< double, N > operator+ (Extent< double, N > const &lhs, Extent< int, N > const &rhs)
 
template<int N>
Extent< double, N > & operator+= (Extent< double, N > &lhs, Extent< int, N > const &rhs)
 
template<int N>
Extent< double, N > operator- (Extent< double, N > const &lhs, Extent< int, N > const &rhs)
 
template<int N>
Extent< double, N > & operator-= (Extent< double, N > &lhs, Extent< int, N > const &rhs)
 
template<int N>
Extent< double, N > operator+ (Extent< int, N > const &lhs, Extent< double, N > const &rhs)
 
template<int N>
Extent< double, N > operator- (Extent< int, N > const &lhs, Extent< double, N > const &rhs)
 
std::ostream & operator<< (std::ostream &os, lsst::afw::geom::LinearTransform const &t)
 
template<int N>
Point< double, N > operator+ (Point< double, N > const &lhs, Extent< int, N > const &rhs)
 
template<int N>
Point< double, N > operator+ (Extent< int, N > const &rhs, Point< double, N > const &lhs)
 
template<int N>
Point< double, N > & operator+= (Point< double, N > &lhs, Extent< int, N > const &rhs)
 
template<int N>
Point< double, N > operator+ (Point< int, N > const &lhs, Extent< double, N > const &rhs)
 
template<int N>
Point< double, N > operator- (Point< double, N > const &lhs, Extent< int, N > const &rhs)
 
template<int N>
Point< double, N > & operator-= (Point< double, N > &lhs, Extent< int, N > const &rhs)
 
template<int N>
Point< double, N > operator- (Point< int, N > const &lhs, Extent< double, N > const &rhs)
 
template<int N>
Extent< double, N > operator- (Point< double, N > const &lhs, Point< int, N > const &rhs)
 
template<int N>
Extent< double, N > operator- (Point< int, N > const &lhs, Point< double, N > const &rhs)
 

Variables

double const PI = boost::math::constants::pi<double>()
 The ratio of a circle's circumference to diameter. More...
 
double const TWOPI = boost::math::constants::pi<double>() * 2.0
 
double const HALFPI = boost::math::constants::pi<double>() * 0.5
 
double const ONE_OVER_PI = 1.0 / boost::math::constants::pi<double>()
 
double const SQRTPI = sqrt(boost::math::constants::pi<double>())
 
double const INVSQRTPI = 1.0/sqrt(boost::math::constants::pi<double>())
 
double const ROOT2 = boost::math::constants::root_two<double>()
 
AngleUnit const radians = AngleUnit(1.0)
 constant with units of radians More...
 
AngleUnit const degrees = AngleUnit(PI/180.0)
 
AngleUnit const hours = AngleUnit(PI*15.0/180.0)
 
AngleUnit const arcminutes = AngleUnit(PI/60/180.0)
 
AngleUnit const arcseconds = AngleUnit(PI/180.0/3600.0)
 
Angle const NullAngle = Angle(-1000000., degrees)
 
dictionary Point = {(int, 2):Point2I, (float, 2):Point2D, (int, 3):Point3I, (float, 3):Point3D}
 
dictionary Extent = {(int, 2):Extent2I, (float, 2):Extent2D, (int, 3):Extent3I, (float, 3):Extent3D}
 
dictionary CoordinateExpr = {2:CoordinateExpr2, 3:CoordinateExpr3}
 

Typedef Documentation

Definition at line 478 of file Box.h.

Definition at line 479 of file Box.h.

Definition at line 92 of file CoordinateExpr.h.

Definition at line 93 of file CoordinateExpr.h.

typedef Extent<double,2> lsst::afw::geom::Extent2D

Definition at line 358 of file Extent.h.

Examples:
image2.cc, and maskedImage2.cc.

Definition at line 355 of file Extent.h.

typedef Extent<double,3> lsst::afw::geom::Extent3D

Definition at line 359 of file Extent.h.

Definition at line 356 of file Extent.h.

Definition at line 357 of file Extent.h.

Definition at line 352 of file Extent.h.

typedef Point<double,2> lsst::afw::geom::Point2D

Definition at line 286 of file Point.h.

typedef Point< int, 2 > lsst::afw::geom::Point2I

Definition at line 283 of file Point.h.

typedef Point<double,3> lsst::afw::geom::Point3D

Definition at line 287 of file Point.h.

Definition at line 284 of file Point.h.

Definition at line 285 of file Point.h.

Definition at line 282 of file Point.h.

Function Documentation

template<int N>
bool lsst::afw::geom::all ( CoordinateExpr< N > const &  expr)
inline

Return true if all elements are true.

Definition at line 80 of file CoordinateExpr.h.

80  {
81  for (int n=0; n<N; ++n) if (!expr[n]) return false;
82  return true;
83 }
template<typename Derived , typename T , int N>
bool lsst::afw::geom::allclose ( CoordinateBase< Derived, T, N > const &  a,
CoordinateBase< Derived, T, N > const &  b,
rtol = static_cast< T >(1E-5),
atol = static_cast< T >(1E-8) 
)
template<int N>
bool lsst::afw::geom::any ( CoordinateExpr< N > const &  expr)
inline

Return true if any elements are true.

Definition at line 87 of file CoordinateExpr.h.

87  {
88  for (int n=0; n<N; ++n) if (expr[n]) return true;
89  return false;
90 }
double lsst::afw::geom::arcsecToRad ( double  x)
inline

Definition at line 41 of file Angle.h.

41  {
42  return (x / 3600.) * PI / 180.;
43 }
double const PI
The ratio of a circle&#39;s circumference to diameter.
Definition: Angle.h:18
double x
template<int N>
Extent<int,N> lsst::afw::geom::ceil ( Extent< double, N > const &  input)

Return the component-wise ceil (round towards more positive).

In Python, this is available as both a free function and a method on ExtentD.

double lsst::afw::geom::degToRad ( double  x)
inline

Definition at line 29 of file Angle.h.

29  {
30  return x * PI / 180.;
31 }
double const PI
The ratio of a circle&#39;s circumference to diameter.
Definition: Angle.h:18
double x
template<int N>
Extent<int,N> lsst::afw::geom::floor ( Extent< double, N > const &  input)

Return the component-wise floor (round towards more negative).

In Python, this is available as both a free function and a method on ExtentD.

template<typename T >
bool lsst::afw::geom::isAngle ( )
inline

Allow a user to check if they have an angle (yes; they could do this themselves via trivial TMP)

Definition at line 290 of file Angle.h.

290  {
291  return false;
292 };
bool lsst::afw::geom::isAngle ( Angle const &  )
inline

Definition at line 294 of file Angle.h.

294  {
295  return true;
296 };
AffineTransform lsst::afw::geom::makeAffineTransformFromTriple ( Point2D const &  p1,
Point2D const &  p2,
Point2D const &  p3,
Point2D const &  q1,
Point2D const &  q2,
Point2D const &  q3 
)
double lsst::afw::geom::masToRad ( double  x)
inline

Definition at line 44 of file Angle.h.

44  {
45  return (x / (1000. * 3600.)) * PI / 180.;
46 }
double const PI
The ratio of a circle&#39;s circumference to diameter.
Definition: Angle.h:18
double x
const Angle lsst::afw::geom::operator* ( Angle const  a,
Angle const  d 
)
inline

Definition at line 266 of file Angle.h.

274 {
const Angle lsst::afw::geom::operator* ( Angle const  a,
double  d 
)
inline

Definition at line 267 of file Angle.h.

274 {
const Angle lsst::afw::geom::operator* ( double  d,
Angle const  a 
)
inline

Definition at line 267 of file Angle.h.

274 {
const Angle lsst::afw::geom::operator* ( Angle const  a,
int  d 
)
inline

Definition at line 268 of file Angle.h.

274 {
const Angle lsst::afw::geom::operator* ( int  d,
Angle const  a 
)
inline

Definition at line 268 of file Angle.h.

274 {
template<typename T >
const Angle lsst::afw::geom::operator* ( lhs,
AngleUnit const  rhs 
)
inline

Use AngleUnit to convert a POD (e.g. int, double) to an Angle; e.g. 180*afwGeomdegrees.

Parameters
lhsthe value to convert
rhsthe conversion coefficient

Definition at line 304 of file Angle.h.

306  {
307  BOOST_STATIC_ASSERT_MSG(std::numeric_limits<T>::is_specialized,
308  "Only numeric types may be converted to Angles using degrees/radians!");
309  return Angle(lhs*rhs._val);
310 }
lsst::afw::geom::Angle Angle
Definition: misc.h:39
template<typename T , int N>
Extent<T,N> lsst::afw::geom::operator* ( scalar,
ExtentBase< T, N > const &  rhs 
)

Definition at line 392 of file Extent.h.

392  {
393  return rhs * scalar;
394 }
template<int N>
Extent<double,N> lsst::afw::geom::operator* ( ExtentBase< int, N > const &  lhs,
double  rhs 
)

Definition at line 397 of file Extent.h.

397  {
398  return Extent<double,N>(static_cast<Extent<int,N> const &>(lhs)) * rhs;
399 }
template<int N>
Extent<double,N> lsst::afw::geom::operator* ( double  lhs,
ExtentBase< int, N > const &  rhs 
)

Definition at line 419 of file Extent.h.

419  {
420  return lhs * Extent<double,N>(static_cast<Extent<int,N> const &>(rhs));
421 }
template<int N>
void lsst::afw::geom::operator*= ( ExtentBase< int, N > &  lhs,
double  rhs 
)

Definition at line 402 of file Extent.h.

402  {
403  // use "N < 0" so assertion is dependent on template instantiation, instead of triggering all the time
404  static_assert(N < 0, "In-place multiplication of Extent<int,N> by double would truncate.");
405 }
const Angle lsst::afw::geom::operator+ ( Angle const  a,
Angle const  d 
)
inline

Definition at line 264 of file Angle.h.

274 {
template<int N>
Point<double,N> lsst::afw::geom::operator+ ( Point< double, N > const &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 290 of file Point.h.

290  {
291  return lhs + Extent<double,N>(rhs);
292 }
template<int N>
Point<double,N> lsst::afw::geom::operator+ ( Extent< int, N > const &  rhs,
Point< double, N > const &  lhs 
)

Definition at line 295 of file Point.h.

295  {
296  return Point<double,N>(lhs) + rhs;
297 }
template<int N>
Point<double,N> lsst::afw::geom::operator+ ( Point< int, N > const &  lhs,
Extent< double, N > const &  rhs 
)

Definition at line 305 of file Point.h.

305  {
306  return Point<double,N>(lhs) + rhs;
307 }
template<int N>
Extent<double,N> lsst::afw::geom::operator+ ( Extent< double, N > const &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 424 of file Extent.h.

424  {
425  return lhs + Extent<double,N>(rhs);
426 }
template<int N>
Extent<double,N> lsst::afw::geom::operator+ ( Extent< int, N > const &  lhs,
Extent< double, N > const &  rhs 
)

Definition at line 444 of file Extent.h.

444  {
445  return Extent<double,N>(lhs) + rhs;
446 }
template<int N>
Point<double,N>& lsst::afw::geom::operator+= ( Point< double, N > &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 300 of file Point.h.

300  {
301  return lhs += Extent<double,N>(rhs);
302 }
template<int N>
Extent<double,N>& lsst::afw::geom::operator+= ( Extent< double, N > &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 429 of file Extent.h.

429  {
430  return lhs += Extent<double,N>(rhs);
431 }
const Angle lsst::afw::geom::operator- ( Angle const  a,
Angle const  d 
)
inline

Definition at line 265 of file Angle.h.

274 {
template<int N>
Point<double,N> lsst::afw::geom::operator- ( Point< double, N > const &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 310 of file Point.h.

310  {
311  return lhs - Extent<double,N>(rhs);
312 }
template<int N>
Point<double,N> lsst::afw::geom::operator- ( Point< int, N > const &  lhs,
Extent< double, N > const &  rhs 
)

Definition at line 320 of file Point.h.

320  {
321  return Point<double,N>(lhs) - rhs;
322 }
template<int N>
Extent<double,N> lsst::afw::geom::operator- ( Point< double, N > const &  lhs,
Point< int, N > const &  rhs 
)

Definition at line 325 of file Point.h.

325  {
326  return lhs - Point<double,N>(rhs);
327 }
template<int N>
Extent<double,N> lsst::afw::geom::operator- ( Point< int, N > const &  lhs,
Point< double, N > const &  rhs 
)

Definition at line 330 of file Point.h.

330  {
331  return Point<double,N>(lhs) - rhs;
332 }
template<int N>
Extent<double,N> lsst::afw::geom::operator- ( Extent< double, N > const &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 434 of file Extent.h.

434  {
435  return lhs - Extent<double,N>(rhs);
436 }
template<int N>
Extent<double,N> lsst::afw::geom::operator- ( Extent< int, N > const &  lhs,
Extent< double, N > const &  rhs 
)

Definition at line 449 of file Extent.h.

449  {
450  return Extent<double,N>(lhs) - rhs;
451 }
template<int N>
Point<double,N>& lsst::afw::geom::operator-= ( Point< double, N > &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 315 of file Point.h.

315  {
316  return lhs -= Extent<double,N>(rhs);
317 }
template<int N>
Extent<double,N>& lsst::afw::geom::operator-= ( Extent< double, N > &  lhs,
Extent< int, N > const &  rhs 
)

Definition at line 439 of file Extent.h.

439  {
440  return lhs -= Extent<double,N>(rhs);
441 }
const Angle lsst::afw::geom::operator/ ( Angle const  a,
int  d 
)
inline

Definition at line 274 of file Angle.h.

274  {
275  return Angle(static_cast<double>(a)/d);
276 }
lsst::afw::geom::Angle Angle
Definition: misc.h:39
const Angle lsst::afw::geom::operator/ ( Angle const  a,
double  d 
)
inline

Definition at line 278 of file Angle.h.

278  {
279  return Angle(static_cast<double>(a)/d);
280 }
lsst::afw::geom::Angle Angle
Definition: misc.h:39
template<typename T >
double lsst::afw::geom::operator/ ( T const  lhs,
Angle const  rhs 
)
template<int N>
Extent<double,N> lsst::afw::geom::operator/ ( ExtentBase< int, N > const &  lhs,
double  rhs 
)

Definition at line 408 of file Extent.h.

408  {
409  return Extent<double,N>(static_cast<Extent<int,N> const &>(lhs)) / rhs;
410 }
template<int N>
void lsst::afw::geom::operator/= ( ExtentBase< int, N > &  lhs,
double  rhs 
)

Definition at line 413 of file Extent.h.

413  {
414  // use "N < 0" so assertion is dependent on template instantiation, instead of triggering all the time
415  static_assert(N < 0, "In-place division of Extent<int,N> by double would truncate.");
416 }
std::ostream& lsst::afw::geom::operator<< ( std::ostream &  os,
lsst::afw::geom::LinearTransform const &  t 
)
template<typename Derived , typename T , int N>
std::ostream& lsst::afw::geom::operator<< ( std::ostream &  os,
CoordinateBase< Derived, T, N > const &  coordinate 
)

Definition at line 199 of file CoordinateBase.h.

199  {
200  os << "(" << coordinate[0];
201  for (int n=1; n<N; ++n) os << ", " << coordinate[n];
202  return os << ")";
203 }
std::ostream& lsst::afw::geom::operator<< ( std::ostream &  os,
lsst::afw::geom::AffineTransform const &  transform 
)
std::ostream& lsst::afw::geom::operator<< ( std::ostream &  s,
Angle const  a 
)

Output operator for an Angle

Parameters
sThe output stream
aThe angle
std::ostream& lsst::afw::geom::operator<< ( std::ostream &  os,
Box2I const &  box 
)
std::ostream& lsst::afw::geom::operator<< ( std::ostream &  os,
Box2D const &  box 
)
double lsst::afw::geom::radToArcsec ( double  x)
inline

Definition at line 35 of file Angle.h.

35  {
36  return x * 3600. * 180. / PI;
37 }
double const PI
The ratio of a circle&#39;s circumference to diameter.
Definition: Angle.h:18
double x
double lsst::afw::geom::radToDeg ( double  x)
inline

Definition at line 32 of file Angle.h.

32  {
33  return x * 180. / PI;
34 }
double const PI
The ratio of a circle&#39;s circumference to diameter.
Definition: Angle.h:18
double x
double lsst::afw::geom::radToMas ( double  x)
inline

Definition at line 38 of file Angle.h.

38  {
39  return x * 1000. * 3600. * 180. / PI;
40 }
double const PI
The ratio of a circle&#39;s circumference to diameter.
Definition: Angle.h:18
double x
template<int N>
Extent<int,N> lsst::afw::geom::truncate ( Extent< double, N > const &  input)

Return the component-wise truncation (round towards zero).

In Python, this is available as both a free function and a method on ExtentD.

Variable Documentation

AngleUnit const lsst::afw::geom::arcminutes = AngleUnit(PI/60/180.0)

Definition at line 94 of file Angle.h.

AngleUnit const lsst::afw::geom::arcseconds = AngleUnit(PI/180.0/3600.0)

Definition at line 95 of file Angle.h.

Definition at line 41 of file __init__.py.

AngleUnit const lsst::afw::geom::degrees = AngleUnit(PI/180.0)

Definition at line 92 of file Angle.h.

dictionary lsst.afw.geom.Extent = {(int, 2):Extent2I, (float, 2):Extent2D, (int, 3):Extent3I, (float, 3):Extent3D}

Definition at line 40 of file __init__.py.

double const lsst::afw::geom::HALFPI = boost::math::constants::pi<double>() * 0.5

Definition at line 20 of file Angle.h.

AngleUnit const lsst::afw::geom::hours = AngleUnit(PI*15.0/180.0)

Definition at line 93 of file Angle.h.

double const lsst::afw::geom::INVSQRTPI = 1.0/sqrt(boost::math::constants::pi<double>())

Definition at line 23 of file Angle.h.

Angle const lsst::afw::geom::NullAngle = Angle(-1000000., degrees)

Definition at line 240 of file Angle.h.

double const lsst::afw::geom::ONE_OVER_PI = 1.0 / boost::math::constants::pi<double>()

Definition at line 21 of file Angle.h.

double const lsst::afw::geom::PI = boost::math::constants::pi<double>()

The ratio of a circle's circumference to diameter.

Definition at line 18 of file Angle.h.

dictionary lsst.afw.geom.Point = {(int, 2):Point2I, (float, 2):Point2D, (int, 3):Point3I, (float, 3):Point3D}

Definition at line 39 of file __init__.py.

AngleUnit const lsst::afw::geom::radians = AngleUnit(1.0)

constant with units of radians

Definition at line 91 of file Angle.h.

double const lsst::afw::geom::ROOT2 = boost::math::constants::root_two<double>()

Definition at line 24 of file Angle.h.

double const lsst::afw::geom::SQRTPI = sqrt(boost::math::constants::pi<double>())

Definition at line 22 of file Angle.h.

double const lsst::afw::geom::TWOPI = boost::math::constants::pi<double>() * 2.0

Definition at line 19 of file Angle.h.