38 #ifndef COAL_DISTANCE_H
39 #define COAL_DISTANCE_H
80 return o1 == other.
o1 && o2 == other.
o2 && swap_geoms == other.
swap_geoms &&
85 return !(*
this == other);
108 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
The geometry for the object for collision or distance computation.
Definition: collision_object.h:94
the object for collision or distance computation, contains the geometry and the transform information
Definition: collision_object.h:214
Definition: distance.h:71
Scalar operator()(const Transform3s &tf1, const Transform3s &tf2, const DistanceRequest &request, DistanceResult &result) const
const CollisionGeometry * o2
Definition: distance.h:96
GJKSolver solver
Definition: distance.h:98
bool operator==(const ComputeDistance &other) const
Definition: distance.h:79
DistanceFunctionMatrix::DistanceFunc func
Definition: distance.h:100
ComputeDistance(const CollisionGeometry *o1, const CollisionGeometry *o2)
bool swap_geoms
Definition: distance.h:101
const CollisionGeometry * o1
Definition: distance.h:88
virtual Scalar run(const Transform3s &tf1, const Transform3s &tf2, const DistanceRequest &request, DistanceResult &result) const
bool operator!=(const ComputeDistance &other) const
Definition: distance.h:84
virtual ~ComputeDistance()
Definition: distance.h:88
#define COAL_DLLAPI
Definition: config.hh:88
Scalar distance(const Matrix3s &R0, const Vec3s &T0, const kIOS &b1, const kIOS &b2, Vec3s *P=NULL, Vec3s *Q=NULL)
Approximate distance between two kIOS bounding volumes.
Main namespace.
Definition: broadphase_bruteforce.h:44
double Scalar
Definition: data_types.h:68
Scalar(* DistanceFunc)(const CollisionGeometry *o1, const Transform3s &tf1, const CollisionGeometry *o2, const Transform3s &tf2, const GJKSolver *nsolver, const DistanceRequest &request, DistanceResult &result)
the uniform call interface for distance: for distance, we need know
Definition: distance_func_matrix.h:57
request to the distance computation
Definition: collision_data.h:984
distance result
Definition: collision_data.h:1050
collision and distance solver based on the GJK and EPA algorithms. Originally, GJK and EPA were imple...
Definition: narrowphase.h:57