How to add points to an OcTree in python #646
Answered
by
jcarpent
jmorgan-bdai
asked this question in
Q&A
-
Hi there, I'm having trouble adding points to a OcTree i've created. How do you actually add a point to the OcTree? import coal
resolution = 0.01
octree = coal.OcTree(resolution)
# octree.updateNode(0, 0, 0, True) # <- nope All attributes for
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
jcarpent
Jan 9, 2025
Replies: 1 comment 1 reply
-
You can easily create an Octree using: octree = coal.makeOctree(points,resolution)
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jcarpent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can easily create an Octree using:
points
should be a (num_points,3) array.