Skip to content
Snippets Groups Projects
Commit d0de7c25 authored by jcarpent's avatar jcarpent
Browse files

[C++] Fix missing #ifdef WITH_HPP_FCL

parent 168b5d6f
Loading
......@@ -30,6 +30,7 @@
namespace fcl
{
#ifdef WITH_HPP_FCL
// 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.
// Once it has been integrated in releases of hpp-fcl, please remove this operator
......@@ -41,6 +42,7 @@ namespace fcl
&& dr1.nearest_points[0] == dr2.nearest_points[0]
&& dr1.nearest_points[1] == dr2.nearest_points[1];
}
#endif
}
namespace se3
{
......
......@@ -130,6 +130,7 @@ namespace se3
// std::cout << "outer object already added" << std::endl;
// }
#ifdef WITH_HPP_FCL
inline void GeometryData::fillInnerOuterObjectMaps(const GeometryModel & geomModel)
{
innerObjects.clear();
......@@ -143,6 +144,7 @@ namespace se3
outerObjects[geomModel.geometryObjects[pair.first].parentJoint].push_back(pair.second);
}
}
#endif
inline std::ostream & operator<< (std::ostream & os, const GeometryModel & geomModel)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment