python-fcl icon indicating copy to clipboard operation
python-fcl copied to clipboard

Example usages for fcl.OcTree

Open eaa3 opened this issue 5 years ago • 4 comments

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

eaa3 avatar Aug 06 '18 17:08 eaa3