38 #ifndef FCL_NARROWPHASE_DETAIL_BOXBOX_H 39 #define FCL_NARROWPHASE_DETAIL_BOXBOX_H 41 #include "fcl/common/types.h" 42 #include "fcl/narrowphase/contact_point.h" 43 #include "fcl/geometry/shape/box.h" 52 void lineClosestApproach(
const Vector3<S>& pa,
const Vector3<S>& ua,
53 const Vector3<S>& pb,
const Vector3<S>& ub,
64 int intersectRectQuad2(S h[2], S p[8], S ret[16]);
74 void cullPoints2(
int n, S p[],
int m,
int i0,
int iret[]);
76 template <
typename S,
typename DerivedA,
typename DerivedB>
78 const Vector3<S>& side1,
79 const Eigen::MatrixBase<DerivedA>& R1,
80 const Eigen::MatrixBase<DerivedB>& T1,
81 const Vector3<S>& side2,
82 const Eigen::MatrixBase<DerivedA>& R2,
83 const Eigen::MatrixBase<DerivedB>& T2,
88 std::vector<ContactPoint<S>>& contacts);
92 const Vector3<S>& side1,
93 const Transform3<S>& tf1,
94 const Vector3<S>& side2,
95 const Transform3<S>& tf2,
100 std::vector<ContactPoint<S>>& contacts);
102 template <
typename S>
103 bool boxBoxIntersect(
const Box<S>& s1,
const Transform3<S>& tf1,
104 const Box<S>& s2,
const Transform3<S>& tf2,
105 std::vector<ContactPoint<S>>* contacts_);
110 #include "fcl/narrowphase/detail/primitive_shape_algorithm/box_box-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45