25#if !defined(LSST_AFW_IMAGE_DEFECT_H)
26#define LSST_AFW_IMAGE_DEFECT_H
51 int getX0() const noexcept {
return _bbox.getMinX(); }
52 int getX1() const noexcept {
return _bbox.getMaxX(); }
53 int getY0() const noexcept {
return _bbox.getMinY(); }
54 int getY1() const noexcept {
return _bbox.getMaxY(); }
int getX0() const noexcept
Return the Defect's left column.
void shift(lsst::geom::Extent2I const &d)
int getY0() const noexcept
Return the Defect's bottom row.
void shift(int dx, int dy)
Offset a Defect by (dx, dy)
int getY1() const noexcept
Return the Defect's top row.
DefectBase(DefectBase const &) noexcept=default
void clip(lsst::geom::Box2I const &bbox) noexcept
DefectBase(const lsst::geom::Box2I &bbox)
lsst::geom::Box2I const & getBBox() const noexcept
Return the Defect's bounding box.
int getX1() const noexcept
Return the Defect's right column.
DefectBase(DefectBase &&) noexcept=default
Extent< int, 2 > Extent2I