FreePOOMA
2.4.1
|
TouchesDomainSingle<T1,T2,bool strided>::touches(a,b) compares two domains a and b of type T1 and T2, and returns true if they touch. More...
#include <Touches.h>
Static Public Member Functions | |
static bool | touches (const T1 &a, const T2 &b) |
TouchesDomainSingle<T1,T2,bool strided>::touches(a,b) compares two domains a and b of type T1 and T2, and returns true if they touch.
a and b are assumed to be 1D domains, and this struct is used by TouchesDomain for each dimension in a multidimensional touches calculation. The final boolean template parameter is used to specialize the calculation to the following two cases:
The default (unit-stride) version of TouchesDomainSingle, which assumes that both arguments to 'touches' are 1D domains with unit stride
static bool TouchesDomainSingle< T1, T2, strided >::touches | ( | const T1 & | a, |
const T2 & | b | ||
) | [inline, static] |
Referenced by TouchesDomainSingle< T1, T2, true >::touches().