25 #if !defined(LSST_AFW_IMAGE_DEFECT_H)
26 #define LSST_AFW_IMAGE_DEFECT_H
void shift(Extent2I const &offset)
Shift the position of the box by the given offset.
Encapsulate information about a bad portion of a detector.
int getX1() const
Return the Defect's right column.
DefectBase(const geom::Box2I &bbox)
geom::Box2I const & getBBox() const
Return the Defect's bounding box.
int getY0() const
Return the Defect's bottom row.
An integer coordinate rectangle.
void shift(geom::Extent2I const &d)
int getX0() const
Return the Defect's left column.
void clip(geom::Box2I const &bbox)
int getY1() const
Return the Defect's top row.
void clip(Box2I const &other)
Shrink this to ensure that other.contains(*this).
void shift(int dx, int dy)
Offset a Defect by (dx, dy)