SpatialOps
SpatialOps::Add< IX1, IX2 > Struct Template Reference

Perform compile-time addition of two IndexTriplet types. More...

#include <IndexTriplet.h>

Detailed Description

template<typename IX1, typename IX2>
struct SpatialOps::Add< IX1, IX2 >

Perform compile-time addition of two IndexTriplet types.

Example usage:

// In the following, MyResult and T1 are the same type:
typedef IndexTriplet< 0, 0, 0> T1;
typedef IndexTriplet< 1,-1, 1> T2;
typedef IndexTriplet<-1, 1,-1> T3;
typedef Add< T2, T3 >::result MyResult;

Definition at line 293 of file IndexTriplet.h.


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