HomeSort by relevance Sort by last modified time
    Searched refs:SQR (Results 1 - 2 of 2) sorted by null

  /external/eigen/unsupported/test/
BVH.cpp 38 inline double SQR(double x) { return x * x; }
55 if((b.center - p).squaredNorm() < SQR(b.radius))
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); }
72 if((b.center - v).squaredNorm() < SQR(b.radius))
78 double minimumOnObject(const BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredNorm() - SQR(b.radius)); }
80 double minimumOnVolumeObject(const BoxType &r, const BallType &b) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); }
81 double minimumOnObjectVolume(const BallType &b, const BoxType &r) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); }
82 double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::max)(0., (b1.center - b2.center).norm() - b1.radius - b2.radius)); }
84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius));
    [all...]
  /external/speex/libspeex/
preprocess.c 91 #define SQR(x) ((x)*(x))
    [all...]

Completed in 183 milliseconds