SpatialOps
SpatialOps::UnitTriplet< DirT > Struct Template Reference

Obtain the "unit vector" IndexTriplet for the supplied direction. More...

#include <IndexTriplet.h>

Detailed Description

template<typename DirT>
struct SpatialOps::UnitTriplet< DirT >

Obtain the "unit vector" IndexTriplet for the supplied direction.

Template Parameters
DirT(XDIR,YDIR,ZDIR) Examples:
typedef UnitTriplet<XDIR>::type XTriplet; // same as IndexTriplet<1,0,0>;
typedef UnitTriplet<YDIR>::type YTriplet; // same as IndexTriplet<0,1,0>;
typedef UnitTriplet<ZDIR>::type ZTriplet; // same as IndexTriplet<0,0,1>;

Definition at line 218 of file IndexTriplet.h.


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