LSSTApplications  1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
Classes | Enumerations | Functions
lsst::ap::match::detail Namespace Reference

Classes

struct  CartesianNode
 
struct  SphericalNode
 
class  SweepStructure
 
class  CartesianSweep
 
class  SphericalSweep
 

Enumerations

enum  Color { BLACK = 0, RED }
 

Functions

bool lessThan (CartesianNode const *a, CartesianNode const *b)
 
bool operator< (std::pair< double, CartesianNode * > const &n1, std::pair< double, CartesianNode * > const &n2)
 
bool lessThan (SphericalNode const *a, SphericalNode const *b)
 
bool operator< (std::pair< double, SphericalNode * > const &left, std::pair< double, SphericalNode * > const &right)
 

Enumeration Type Documentation

Nodes in an interval tree are either red or black.

Enumerator
BLACK 
RED 

Definition at line 46 of file SweepStructure.h.

46  {
47  BLACK = 0, RED
48 };
string RED
Definition: ds9.py:94
string BLACK
Definition: ds9.py:93

Function Documentation

bool lsst::ap::match::detail::lessThan ( CartesianNode const *  a,
CartesianNode const *  b 
)
inline

Orders tree nodes by minimum coordinate-0 (x) value, using the addresses of embedded BBox instances to break ties.

Definition at line 87 of file SweepStructure.cc.

87  {
88  return (a->minCoord0 == b->minCoord0) ?
89  a->bbox < b->bbox : a->minCoord0 < b->minCoord0;
90 }
afw::table::Key< double > b
bool lsst::ap::match::detail::lessThan ( SphericalNode const *  a,
SphericalNode const *  b 
)
inline

Orders tree nodes by minimum coordinate-0 (longitude/right-ascension) value, using the addresses of embedded BBox instances to break ties.

Definition at line 156 of file SweepStructure.cc.

156  {
157  return (a->minCoord0 == b->minCoord0) ?
158  a->bbox < b->bbox : a->minCoord0 < b->minCoord0;
159 }
afw::table::Key< double > b
bool lsst::ap::match::detail::operator< ( std::pair< double, CartesianNode * > const &  n1,
std::pair< double, CartesianNode * > const &  n2 
)
inline

Definition at line 92 of file SweepStructure.cc.

94 {
95  return n1.first > n2.first;
96 }
bool lsst::ap::match::detail::operator< ( std::pair< double, SphericalNode * > const &  left,
std::pair< double, SphericalNode * > const &  right 
)
inline

Definition at line 161 of file SweepStructure.cc.

163 {
164  return left.first > right.first;
165 }