#include <Intersect.h>
Public Types | |
enum | { strided } |
Static Public Member Functions | |
static void | intersect (const T1 &a, const T2 &b, T3 &c) |
It uses IntersectDomainSingle to do the single-domain intersection, telling that struct whether the domains have unit stride or not. A general version of IntersectDomain is defined, to intersect the domains in the 'Dim' dimension, and then a specialization is provided for Dim==1 that stops the metaprogram recursion.
static void IntersectDomain< T1, T2, T3, Dim >::intersect | ( | const T1 & | a, | |
const T2 & | b, | |||
T3 & | c | |||
) | [inline, static] |
Referenced by IntersectDomain< T1, T2, T3, 1 >::intersect().