FreePOOMA
2.4.1
|
IntersectDomainSingle<T1,T2,T3,int Dim,bool strided>::intersect(a,b,c) finds the intersection of two domains a and b of type T1 and T2, and puts the domain intersection in c[Dim-1]. More...
#include <Intersect.h>
Static Public Member Functions | |
static void | intersect (const T1 &a, const T2 &b, T3 &c) |
IntersectDomainSingle<T1,T2,T3,int Dim,bool strided>::intersect(a,b,c) finds the intersection of two domains a and b of type T1 and T2, and puts the domain intersection in c[Dim-1].
If there are no points which these domains have in common, this returns an empty domain. The domains a and b are assumed to be 1D domains. The final boolean template parameter is used to specialize the calculation to the following two cases:
The default (unit-stride) version of IntersectDomainSingle, which assumes that both arguments to 'intersect' are 1D domains with unit stride
static void IntersectDomainSingle< T1, T2, T3, Dim, strided >::intersect | ( | const T1 & | a, |
const T2 & | b, | ||
T3 & | c | ||
) | [inline, static] |
Referenced by IntersectDomainSingle< T1, T2, T3, Dim, true >::intersect().