24#ifndef LSST_AFW_GEOM_ELLIPSES_PixelRegion_h_INCLUDED
25#define LSST_AFW_GEOM_ELLIPSES_PixelRegion_h_INCLUDED
50 using Iterator = std::vector<Span>::const_iterator;
A range of pixels within one row of an Image.
An ellipse defined by an arbitrary BaseCore and a center point.
A pixelized region containing all pixels whose centers are within an Ellipse.
PixelRegion & operator=(PixelRegion const &)=default
lsst::geom::Box2I const & getBBox() const
Return the bounding box of the pixel region.
PixelRegion(PixelRegion &&)=default
Iterator begin() const
Iterator range over Spans whose pixels are within the Ellipse.
PixelRegion(Ellipse const &ellipse)
Construct a PixelRegion from an Ellipse.
std::vector< Span >::const_iterator Iterator
Iterator type used by begin() and end().
Span const getSpanAt(int y) const
Return the span at the given y coordinate value.
PixelRegion(PixelRegion const &)=default
PixelRegion is copy and move constructable and assignable.
PixelRegion & operator=(PixelRegion &&)=default