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
Public Member Functions | Public Attributes | List of all members
lsst::meas::algorithms::shapelet::PixelListSorter Struct Reference

Public Member Functions

 PixelListSorter (const Position &cen)
 
bool operator() (const Pixel &p1, const Pixel &p2) const
 

Public Attributes

Position _cen
 

Detailed Description

Definition at line 167 of file Pixel_omp.cc.

Constructor & Destructor Documentation

lsst::meas::algorithms::shapelet::PixelListSorter::PixelListSorter ( const Position cen)
inline

Definition at line 170 of file Pixel_omp.cc.

Member Function Documentation

bool lsst::meas::algorithms::shapelet::PixelListSorter::operator() ( const Pixel p1,
const Pixel p2 
) const
inline

Definition at line 171 of file Pixel_omp.cc.

172  { return std::norm(p1.getPos()-_cen) < std::norm(p2.getPos()-_cen); }
T norm(const T &x)
Definition: Integrate.h:191

Member Data Documentation

Position lsst::meas::algorithms::shapelet::PixelListSorter::_cen

Definition at line 169 of file Pixel_omp.cc.


The documentation for this struct was generated from the following file: