Class SpanPixelIterator

Inheritance Relationships

Base Type

  • public boost::iterator_facade< SpanPixelIterator, lsst::geom::Point2I const, boost::random_access_traversal_tag >

Class Documentation

class SpanPixelIterator : public boost::iterator_facade<SpanPixelIterator, lsst::geom::Point2I const, boost::random_access_traversal_tag>

An iterator that yields lsst::geom::Point2I and increases in the x direction.

This is used to iterate over the pixels in a Span, and by extension to iterate over regions like boxes and ellipses.

Public Functions

SpanPixelIterator(lsst::geom::Point2I const &p = lsst::geom::Point2I())
SpanPixelIterator(SpanPixelIterator const&)
SpanPixelIterator(SpanPixelIterator&&)
SpanPixelIterator &operator=(SpanPixelIterator const&)
SpanPixelIterator &operator=(SpanPixelIterator&&)
~SpanPixelIterator()

Friends

friend lsst::afw::geom::SpanPixelIterator::boost::iterator_core_access