LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #ifndef LSST_JOINTCAL_FAST_FINDER_H
26 #define LSST_JOINTCAL_FAST_FINDER_H
77 bool (*SkipIt)(
const BaseStar &) =
nullptr)
const;
82 bool (*SkipIt)(
const BaseStar &) =
nullptr)
const;
117 #endif // LSST_JOINTCAL_FAST_FINDER_H
pstar locateYEnd(pstar begin, pstar end, double yVal) const
void findRangeInSlice(const int iSlice, const double yStart, const double yEnd, pstar &start, pstar &end) const
Iterator beginScan(const Point &where, double maxDist) const
void print(std::ostream &out) const
mostly for debugging
std::shared_ptr< const BaseStar > secondClosest(const Point &where, const double maxDist, std::shared_ptr< const BaseStar > &closest, bool(*SkipIt)(const BaseStar &)=nullptr) const
std::vector< unsigned > index
Iterator meant to traverse objects within some limiting distance.
const BaseStarList baselist
std::vector< std::shared_ptr< const BaseStar > > stars
decltype(stars) typedef ::value_type stars_element
Iterator(const FastFinder &f, const Point &where, double maxDist)
stars_element operator*() const
std::shared_ptr< const BaseStar > findClosest(const Point &where, const double maxDist, bool(*SkipIt)(const BaseStar &)=nullptr) const
Find the closest with some rejection capability.
decltype(stars) typedef ::const_iterator pstar
A base class for image defects.
pstar locateYStart(pstar begin, pstar end, double yVal) const
This is an auxillary class for matching objects from starlists.
const FastFinder & finder
The base class for handling stars. Used by all matching routines.
FastFinder(const BaseStarList &list, const unsigned nXSlice=100)
Constructor.