SpatialOps
SpatialOps::IndexTripletExtract< IT, DirT > Struct Template Reference

Extracts the value for the IndexTriplet in the requested dimension. More...

#include <IndexTriplet.h>

Detailed Description

template<typename IT, typename DirT>
struct SpatialOps::IndexTripletExtract< IT, DirT >

Extracts the value for the IndexTriplet in the requested dimension.

Example usage:

assert( IndexTripletExtract< IndexTriplet<-1,0,1>, XDIR >::value == -1 );
typedef IndexTripletExtract< IndexTriplet<-1,0,1>, XDIR > ExtractedIndexType;

Note that only specialized versions of this struct exist for querying in valid dimensions (XDIR,YDIR,ZDIR).

Definition at line 237 of file IndexTriplet.h.


The documentation for this struct was generated from the following file: