LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | Friends | List of all members
lsst::afw::detection::detail::PsfCacheKey Struct Reference

Public Member Functions

 PsfCacheKey (lsst::geom::Point2D const &position_, image::Color color_=image::Color())
 
bool operator== (PsfCacheKey const &other) const
 

Public Attributes

lsst::geom::Point2D const position
 
image::Color const color
 

Friends

std::ostreamoperator<< (std::ostream &os, PsfCacheKey const &key)
 

Detailed Description

Definition at line 27 of file Psf.cc.

Constructor & Destructor Documentation

◆ PsfCacheKey()

lsst::afw::detection::detail::PsfCacheKey::PsfCacheKey ( lsst::geom::Point2D const &  position_,
image::Color  color_ = image::Color() 
)
inline

Definition at line 31 of file Psf.cc.

32  : position(position_), color(color_) {}
lsst::geom::Point2D const position
Definition: Psf.cc:28

Member Function Documentation

◆ operator==()

bool lsst::afw::detection::detail::PsfCacheKey::operator== ( PsfCacheKey const &  other) const
inline

Definition at line 34 of file Psf.cc.

34  {
35  return position == other.position; // Currently don't care about color
36  }
lsst::geom::Point2D const position
Definition: Psf.cc:28
ItemVariant const * other
Definition: Schema.cc:56

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream os,
PsfCacheKey const &  key 
)
friend

Definition at line 38 of file Psf.cc.

38 { return os << key.position; }
Key< U > key
Definition: Schema.cc:281

Member Data Documentation

◆ color

image::Color const lsst::afw::detection::detail::PsfCacheKey::color

Definition at line 29 of file Psf.cc.

◆ position

lsst::geom::Point2D const lsst::afw::detection::detail::PsfCacheKey::position

Definition at line 28 of file Psf.cc.


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