BerkeleyAutomation / python-fcl

Python binding of FCL library
BSD 3-Clause "New" or "Revised" License
203 stars 58 forks source link

Accessing BVH Structure #41

Open arbrasington opened 2 years ago

arbrasington commented 2 years ago

Is there a way to access the underlying bounding boxes created by the BVHModel? I've seen in the C++ version that you can call getBV(int id) to access individual boxes.

mjd3 commented 2 years ago

@arbrasington good question. Right now, this is supported on the C++ side as you mention but there are not Cython bindings for this particular function (so it is not available on the python side). If you're willing to put in a PR for it, that would be greatly appreciated!