25 #if !defined(LSST_AFW_IMAGE_DEFECT_H) 26 #define LSST_AFW_IMAGE_DEFECT_H
void clip(lsst::geom::Box2I const &bbox)
Encapsulate information about a bad portion of a detector.
DefectBase & operator=(DefectBase const &)=default
virtual ~DefectBase()=default
void shift(lsst::geom::Extent2I const &d)
A base class for image defects.
int getX0() const
Return the Defect's left column.
int getX1() const
Return the Defect's right column.
void shift(Extent2I const &offset)
int getY0() const
Return the Defect's bottom row.
lsst::geom::Box2I const & getBBox() const
Return the Defect's bounding box.
int getY1() const
Return the Defect's top row.
void clip(Box2I const &other)
void shift(int dx, int dy)
Offset a Defect by (dx, dy)
DefectBase(const lsst::geom::Box2I &bbox)