Commit b2458ebb authored by jcarpent's avatar jcarpent
Browse files

[Multibody] Partial remove of operator== for DistanceResult

parent d377018f
...@@ -26,22 +26,23 @@ ...@@ -26,22 +26,23 @@
EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION(se3::GeometryData) EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION(se3::GeometryData)
namespace fcl //namespace fcl
{ //{
#ifdef WITH_HPP_FCL //#ifdef WITH_HPP_FCL
// This operator is defined here temporary, as it is needed by vector_indexing_suite // // This operator is defined here temporary, as it is needed by vector_indexing_suite
// It has also been defined in hpp-fcl in a pending pull request. // // It has also been defined in hpp-fcl in a pending pull request.
// Once it has been integrated in releases of hpp-fcl, please remove this operator // // Once it has been integrated in releases of hpp-fcl, please remove this operator
inline bool operator ==(const DistanceResult & dr1, const DistanceResult& dr2) // inline bool operator ==(const DistanceResult & dr1, const DistanceResult& dr2)
{ // {
return dr1.min_distance == dr2.min_distance // return dr1.min_distance == dr2.min_distance
&& dr1.o1 == dr2.o1 // && dr1.o1 == dr2.o1
&& dr1.o2 == dr2.o2 // && dr1.o2 == dr2.o2
&& dr1.nearest_points[0] == dr2.nearest_points[0] // && dr1.nearest_points[0] == dr2.nearest_points[0]
&& dr1.nearest_points[1] == dr2.nearest_points[1]; // && dr1.nearest_points[1] == dr2.nearest_points[1];
} // }
#endif //#endif
} //}
namespace se3 namespace se3
{ {
namespace python namespace python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment