28 template <
typename Real>
43 template <
typename Real>
53 box0.GetCenteredForm(C0, E0);
63 Real absDot01[2][2], rSum;
68 rSum = E0[0] + E1[0] * absDot01[0][0] + E1[1] * absDot01[0][1];
71 result.intersect =
false;
72 result.separating = 0;
79 rSum = E0[1] + E1[0] * absDot01[1][0] + E1[1] * absDot01[1][1];
82 result.intersect =
false;
83 result.separating = 1;
88 rSum = E1[0] + E0[0] * absDot01[0][0] + E0[1] * absDot01[1][0];
91 result.intersect =
false;
92 result.separating = 2;
97 rSum = E1[1] + E0[0] * absDot01[0][1] + E0[1] * absDot01[1][1];
100 result.intersect =
false;
101 result.separating = 3;
105 result.intersect =
true;
gte::BSNumber< UIntegerType > abs(gte::BSNumber< UIntegerType > const &number)
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
Result operator()(Type0 const &primitive0, Type1 const &primitive1)