25 #if !defined(LSST_AFW_IMAGE_DEFECT_H) 26 #define LSST_AFW_IMAGE_DEFECT_H int getX0() const noexcept
Return the Defect's left column.
int getX1() const noexcept
Return the Defect's right column.
Encapsulate information about a bad portion of a detector.
int getY1() const noexcept
Return the Defect's top row.
lsst::geom::Box2I const & getBBox() const noexcept
Return the Defect's bounding box.
void shift(lsst::geom::Extent2I const &d)
A base class for image defects.
int getY0() const noexcept
Return the Defect's bottom row.
int getMaxY() const noexcept
int getMaxX() const noexcept
int getMinX() const noexcept
virtual ~DefectBase() noexcept=default
void shift(Extent2I const &offset)
Shift the position of the box by the given offset.
void clip(Box2I const &other) noexcept
Shrink this to ensure that other.contains(*this).
DefectBase & operator=(DefectBase const &) noexcept=default
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
void clip(lsst::geom::Box2I const &bbox) noexcept
An integer coordinate rectangle.
void shift(int dx, int dy)
Offset a Defect by (dx, dy)
DefectBase(const lsst::geom::Box2I &bbox)
int getMinY() const noexcept