38 #ifndef HPP_FCL_DISTANCE_H 39 #define HPP_FCL_DISTANCE_H 54 const CollisionObject* o2,
55 const DistanceRequest& request,
56 DistanceResult& result);
61 const Transform3f&
tf1,
62 const CollisionGeometry* o2,
63 const Transform3f&
tf2,
64 const DistanceRequest& request,
65 DistanceResult& result);
116 return o1 == other.
o1 && o2 == other.
o2 && swap_geoms == other.
swap_geoms &&
121 return !(*
this == other);
144 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
FCL_REAL(* DistanceFunc)(const CollisionGeometry *o1, const Transform3f &tf1, const CollisionGeometry *o2, const Transform3f &tf2, const GJKSolver *nsolver, const DistanceRequest &request, DistanceResult &result)
the uniform call interface for distance: for distance, we need know
request to the distance computation
bool operator==(const ComputeDistance &other) const
const CollisionGeometry * o1
HPP_FCL_DLLAPI FCL_REAL distance(const Matrix3f &R0, const Vec3f &T0, const kIOS &b1, const kIOS &b2, Vec3f *P=NULL, Vec3f *Q=NULL)
Approximate distance between two kIOS bounding volumes.
HPP_FCL_COMPILER_DIAGNOSTIC_POP void updateGuess(const QueryResult &result)
const CollisionGeometry * o2
virtual ~ComputeDistance()
bool operator!=(const ComputeDistance &other) const
collision and distance solver based on GJK algorithm implemented in fcl (rewritten the code from the ...
DistanceFunctionMatrix::DistanceFunc func
the object for collision or distance computation, contains the geometry and the transform information...
The geometry for the object for collision or distance computation.
FCL_REAL operator()(const Transform3f &tf1, const Transform3f &tf2, DistanceRequest &request, DistanceResult &result) const