• Home
  • Raw
  • Download

Lines Matching defs:BallPointStuff

41 struct BallPointStuff //this class provides functions to be both an intersector and a minimizer, bo…  struct
48 BallPointStuff() : calls(0), count(0) {} in BallPointStuff() function
49 BallPointStuff(const VectorType &inP) : p(inP), calls(0), count(0) {} in BallPointStuff() function
52 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()
70 bool intersectObjectObject(const BallType &b, const VectorType &v){ in intersectObjectObject()
77 double minimumOnVolume(const BoxType &r) { ++calls; return r.squaredExteriorDistance(p); } in minimumOnVolume()
78 …onst BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredNorm() - SQR(b.radius)); } in minimumOnObject()
79 …umeVolume(const BoxType &r1, const BoxType &r2) { ++calls; return r1.squaredExteriorDistance(r2); } in minimumOnVolumeVolume()
80 …onst BallType &b) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); } in minimumOnVolumeObject()
81 …const BoxType &r) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); } in minimumOnObjectVolume()
82 …b2){ ++calls; return SQR((std::max)(0., (b1.center - b2.center).norm() - b1.radius - b2.radius)); } in minimumOnObjectObject()
83 …lumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.squaredExteriorDistance(v); } in minimumOnVolumeObject()
84 … &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius)); } in minimumOnObjectObject()
86 VectorType p;
110 BallPointStuff<Dim> i1(pt), i2(pt); in testIntersect1() argument