EleFits  4.0.1
A modern C++ API on top of CFitsIO

◆ domain()

template<typename T , long n = 2>
Region<n> Euclid::Fits::Raster< T, n >::domain ( ) const

Get raster domain.

The domain is the region which spans from the first to the last pixel position. It can be used to loop over all pixels, e.g.:

for (auto pos : raster.domain()) {
processPixel(pos, raster[pos]);
}