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

  /external/eigen/test/
geo_alignedbox.cpp 22 template<typename BoxType> void alignedbox(const BoxType& _box)
27 typedef typename BoxType::Index Index;
28 typedef typename BoxType::Scalar Scalar;
30 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType;
40 BoxType b0(dim);
41 BoxType b1(VectorType::Random(dim),VectorType::Random(dim));
42 BoxType b2;
60 BoxType box1(VectorType::Random(dim));
62 BoxType box2(VectorType::Random(dim))
    [all...]
  /external/eigen/unsupported/test/
BVH.cpp 46 typedef AlignedBox<double, Dim> BoxType;
52 bool intersectVolume(const BoxType &r) { ++calls; return r.contains(p); }
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); }
62 bool intersectObjectVolume(const BallType &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); }
69 bool intersectVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.contains(v); }
77 double minimumOnVolume(const BoxType &r) { ++calls; return r.squaredExteriorDistance(p); }
79 double minimumOnVolumeVolume(const BoxType &r1, const BoxType &r2) { ++calls; return r1.squaredExteriorDistance(r2);
    [all...]

Completed in 915 milliseconds