BuildOctree
Build an Octree representation of a set of (x,y,z) points in space. The function is called,
Octree = BuildOctree(x,y,z,MinCubeSide)
where,
[x_i, y_i, z_i], i = 1:N define points in space
and
MinCubeSide is the side length of the smallest cube to be used in the discretization. This will determine the number of levels of the tree.
The output structure Octree will contain the number of children, group center coordinate, cube side length, and nearest touching neighbors for each group at each level of the tree. The Octree is determined using a few, very simple equations.
Cite As
David (2024). BuildOctree (https://www.mathworks.com/matlabcentral/fileexchange/36782-buildoctree), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |