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

◆ FileMemRegions() [2/2]

template<long n = 2>
Euclid::Fits::FileMemRegions< n >::FileMemRegions ( const Position< n > &  filePosition,
const Region< n > &  memoryRegion = Region<n>::whole() 
)
inline

Create a mapping from an in-file position and an in-memory region.

The shape of the in-file region is deduced from that of the in-memory region. This constructor is not marked explicit, which allows casting from a Position.