EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ domain()

Region< N > domain ( ) const

Get the raster domain.

The domain is the region which spans from the first to the last pixel position.

Example
It can be used to loop over all pixels, e.g.:
for (auto pos : raster.domain()) {
processPixel(pos, raster[pos]);
}