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

◆ slice() [2/2]

template<typename T , long n = 2>
template<long m = 2>
PtrRaster<T, m> Euclid::Fits::Raster< T, n >::slice ( const Region< n > &  region)

Create a slice from a given region.

Template Parameters
mThe dimension of the slice (cannot be -1)
See also
isContiguous()
section()