| 61 | bool intersectVolumeObject(const BoxType &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } |
| 62 | bool intersectObjectVolume(const BallType &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } |
| 63 | bool intersectObjectObject(const BallType &b1, const BallType &b2){ |
| 64 | ++calls; |
| 65 | if((b1.center - b2.center).norm() < b1.radius + b2.radius) |
| 66 | ++count; |
| 67 | return false; |
| 68 | } |
| 69 | bool intersectVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.contains(v); } |
| 70 | bool intersectObjectObject(const BallType &b, const VectorType &v){ |
| 71 | ++calls; |
no test coverage detected