Verified Commit 0ccb4098 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: fix

parent a01c7c76
......@@ -476,10 +476,13 @@ void exposeCollisionGeometries ()
bp::return_internal_reference<>())
.def ("vertices", &BVHModelBaseWrapper::vertex,
bp::args("self","index"),"Retrieve the vertex given by its index.",
bp::return_internal_reference<>())
::hpp::fcl::python::deprecated_member< bp::return_internal_reference<> >())
.def ("vertices", &BVHModelBaseWrapper::vertices,
bp::args("self"),"Retrieve all the vertices.",
bp::with_custodian_and_ward_postcall<0,1>())
// .add_property ("vertices",
// bp::make_function(&BVHModelBaseWrapper::vertices,bp::with_custodian_and_ward_postcall<0,1>()),
// "Vertices of the BVH.")
.def ("tri_indices", &BVHModelBaseWrapper::tri_indices,
bp::args("self","index"),"Retrieve the triangle given by its index.")
.def_readonly ("num_vertices", &BVHModelBase::num_vertices)
......
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