FreePOOMA
2.4.1
|
Slice domain objects are domains which have N dimensions worth of 1D domain data, but really represent the result of taking an M-dimensional slice (M < N) of another N dimensional domain. More...
#include "Domain/DomainTraits.SliceRange.h"
#include "Domain/SliceDomain.h"
#include "Utilities/NoInit.h"
Classes | |
class | SliceRange< Dim, SliceDim > |
SliceRange<N,M> is a special form of domain object which stores a total domain and a slice domain, both as Range<N> or <M> objects. More... |
Slice domain objects are domains which have N dimensions worth of 1D domain data, but really represent the result of taking an M-dimensional slice (M < N) of another N dimensional domain.
SliceRange<N,M> is is basically an array of N Range<1> objects, but it also knows that only M of these are full domains, and that N-M domains are actually referring to single points. You can retrieve all N 1D domains as a normal Range<N> object, or the smaller slice domain as a Range<M> object.
SliceRange defers most of its implementation to the SliceDomain<DomainTraits<SliceRange>> base class.