A range of pixels within one row of an Image.
More...
#include <Span.h>
A range of pixels within one row of an Image.
Definition at line 55 of file Span.h.
◆ Iterator
An iterator over points in the Span.
Definition at line 58 of file Span.h.
◆ Span() [1/2]
| lsst::afw::geom::Span::Span |
( |
int |
y, |
|
|
int |
x0, |
|
|
int |
x1 |
|
) |
| |
|
inline |
- Parameters
-
| y | Row that Span's in |
| x0 | Starting column (inclusive) |
| x1 | Ending column (inclusive) |
Definition at line 60 of file Span.h.
◆ Span() [2/2]
| lsst::afw::geom::Span::Span |
( |
| ) |
|
|
inline |
Construct an empty Span with zero width at the origin.
Definition at line 68 of file Span.h.
◆ begin()
| Iterator lsst::afw::geom::Span::begin |
( |
| ) |
const |
|
inline |
Return an iterator to the first pixel in the Span.
Definition at line 71 of file Span.h.
◆ contains() [1/3]
| bool lsst::afw::geom::Span::contains |
( |
int |
x | ) |
const |
|
inline |
◆ contains() [2/3]
| bool lsst::afw::geom::Span::contains |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
inline |
◆ contains() [3/3]
| bool lsst::afw::geom::Span::contains |
( |
Point2I const & |
point | ) |
const |
|
inline |
◆ end()
| Iterator lsst::afw::geom::Span::end |
( |
| ) |
const |
|
inline |
Return an iterator to one past the last pixel in the Span.
Definition at line 74 of file Span.h.
◆ getBeginX()
| int lsst::afw::geom::Span::getBeginX |
( |
| ) |
const |
|
inline |
Begin (inclusive) x-value.
Definition at line 85 of file Span.h.
◆ getEndX()
| int lsst::afw::geom::Span::getEndX |
( |
| ) |
const |
|
inline |
End (exclusive) x-value.
Definition at line 86 of file Span.h.
◆ getMax()
| Point2I const lsst::afw::geom::Span::getMax |
( |
| ) |
const |
|
inline |
Point corresponding to maximum x.
Definition at line 88 of file Span.h.
◆ getMaxX()
| int lsst::afw::geom::Span::getMaxX |
( |
| ) |
const |
|
inline |
Maximum x-value.
Definition at line 84 of file Span.h.
◆ getMin()
| Point2I const lsst::afw::geom::Span::getMin |
( |
| ) |
const |
|
inline |
Point corresponding to minimum x.
Definition at line 87 of file Span.h.
◆ getMinX()
| int lsst::afw::geom::Span::getMinX |
( |
| ) |
const |
|
inline |
Minimum x-value.
Definition at line 83 of file Span.h.
◆ getWidth()
| int lsst::afw::geom::Span::getWidth |
( |
| ) |
const |
|
inline |
Return the number of pixels.
Definition at line 82 of file Span.h.
◆ getX0() [1/2]
| int lsst::afw::geom::Span::getX0 |
( |
| ) |
const |
|
inline |
Return the starting x-value.
Definition at line 76 of file Span.h.
◆ getX0() [2/2]
| int& lsst::afw::geom::Span::getX0 |
( |
| ) |
|
|
inline |
Return the starting x-value.
Definition at line 77 of file Span.h.
◆ getX1() [1/2]
| int lsst::afw::geom::Span::getX1 |
( |
| ) |
const |
|
inline |
Return the ending x-value.
Definition at line 78 of file Span.h.
◆ getX1() [2/2]
| int& lsst::afw::geom::Span::getX1 |
( |
| ) |
|
|
inline |
Return the ending x-value.
Definition at line 79 of file Span.h.
◆ getY() [1/2]
| int lsst::afw::geom::Span::getY |
( |
| ) |
const |
|
inline |
Return the y-value.
Definition at line 80 of file Span.h.
◆ getY() [2/2]
| int& lsst::afw::geom::Span::getY |
( |
| ) |
|
|
inline |
Return the y-value.
Definition at line 81 of file Span.h.
◆ isEmpty()
| bool lsst::afw::geom::Span::isEmpty |
( |
| ) |
const |
|
inline |
Return true if the span contains no pixels.
Definition at line 95 of file Span.h.
◆ operator!=()
| bool lsst::afw::geom::Span::operator!= |
( |
Span const & |
other | ) |
const |
|
inline |
◆ operator<()
| bool lsst::afw::geom::Span::operator< |
( |
const Span & |
b | ) |
const |
◆ operator==()
| bool lsst::afw::geom::Span::operator== |
( |
Span const & |
other | ) |
const |
|
inline |
◆ shift()
| void lsst::afw::geom::Span::shift |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
|
inline |
◆ toString()
| std::string lsst::afw::geom::Span::toString |
( |
| ) |
const |
Return a string-representation of a Span.
◆ boost::serialization::access
| friend class boost::serialization::access |
|
friend |
◆ detection::Footprint
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
Span const & |
span |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: