python-fcl
python-fcl copied to clipboard
Example usages for fcl.OcTree
Would it be possible to add tests and examples using fcl.OcTree. Could you give an instantiation example? I assume it should be read from bytes representing an octree. If I give:
fcl_tree =fcl.OcTree(0.1, data)
It gives the following error:
Traceback (most recent call last): File "example1.py", line 20, in <module> fcl_tree =fcl.OcTree(0.1, data) File "fcl/fcl.pyx", line 403, in fcl.fcl.OcTree.__cinit__ File "stringsource", line 48, in vector.from_py.__pyx_convert_vector_from_py_char TypeError: an integer is required