Commit 721d5f1a authored by jcarpent's avatar jcarpent
Browse files

[Python] Move exposition of CollisionResult vector

parent 2d927754
...@@ -33,6 +33,7 @@ namespace se3 ...@@ -33,6 +33,7 @@ namespace se3
StdVectorPythonVisitor<ContactPythonVisitor::Contact>::expose("StdVect_Contact"); StdVectorPythonVisitor<ContactPythonVisitor::Contact>::expose("StdVect_Contact");
CollisionResultPythonVisitor::expose(); CollisionResultPythonVisitor::expose();
StdVectorPythonVisitor<CollisionResultPythonVisitor::CollisionResult>::expose("StdVect_CollisionResult");
CollisionGeometryPythonVisitor::expose(); CollisionGeometryPythonVisitor::expose();
} }
......
// //
// Copyright (c) 2015-2016 CNRS // Copyright (c) 2015-2017 CNRS
// //
// This file is part of Pinocchio // This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it // Pinocchio is free software: you can redistribute it
...@@ -131,9 +131,6 @@ namespace se3 ...@@ -131,9 +131,6 @@ namespace se3
#ifdef WITH_HPP_FCL #ifdef WITH_HPP_FCL
bp::class_< std::vector<fcl::DistanceResult> >("StdVec_DistanceResult") bp::class_< std::vector<fcl::DistanceResult> >("StdVec_DistanceResult")
.def(bp::vector_indexing_suite< std::vector<fcl::DistanceResult> >()); .def(bp::vector_indexing_suite< std::vector<fcl::DistanceResult> >());
bp::class_< std::vector<fcl::CollisionResult> >("StdVec_CollisionResult")
.def(bp::vector_indexing_suite< std::vector<fcl::CollisionResult> >());
#endif // WITH_HPP_FCL #endif // WITH_HPP_FCL
bp::class_<GeometryData>("GeometryData", bp::class_<GeometryData>("GeometryData",
"Geometry data linked to a geometry model and data struct.", "Geometry data linked to a geometry model and data struct.",
......
Supports Markdown
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