Searched defs:BallPointStuff (Results 1 – 1 of 1) sorted by relevance
41 struct BallPointStuff //this class provides functions to be both an intersector and a minimizer, bo… struct48 BallPointStuff() : calls(0), count(0) {} in BallPointStuff() argument49 BallPointStuff(const VectorType &inP) : p(inP), calls(0), count(0) {} in BallPointStuff() argument52 bool intersectVolume(const BoxType &r) { ++calls; return r.contains(p); } in intersectVolume()53 bool intersectObject(const BallType &b) { in intersectObject()60 …meVolume(const BoxType &r1, const BoxType &r2) { ++calls; return !(r1.intersection(r2)).isNull(); } in intersectVolumeVolume()61 …ype &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectVolumeObject()62 …Type &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectObjectVolume()63 bool intersectObjectObject(const BallType &b1, const BallType &b2){ in intersectObjectObject()69 …ool intersectVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.contains(v); } in intersectVolumeObject()[all …]