| 51 | |
| 52 | bool intersectVolume(const BoxType &r) { ++calls; return r.contains(p); } |
| 53 | bool intersectObject(const BallType &b) { |
| 54 | ++calls; |
| 55 | if((b.center - p).squaredNorm() < SQR(b.radius)) |
| 56 | ++count; |
| 57 | return false; //continue |
| 58 | } |
| 59 | |
| 60 | bool intersectVolumeVolume(const BoxType &r1, const BoxType &r2) { ++calls; return !(r1.intersection(r2)).isNull(); } |
| 61 | bool intersectVolumeObject(const BoxType &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } |
no test coverage detected