Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of root node when tree is empty #11

Closed
ahornung opened this issue Dec 19, 2012 · 1 comment
Closed

Get rid of root node when tree is empty #11

ahornung opened this issue Dec 19, 2012 · 1 comment
Assignees

Comments

@ahornung
Copy link
Member

An empty tree always contains the root node spanning over the complete octree volume. This creates some unwanted results e.g. when counting and traversing nodes, or determining the octree extent (in m). Solution: create root node only when required, for an empty tree it is NULL.

@ghost ghost assigned ahornung Dec 19, 2012
@ahornung
Copy link
Member Author

Imported from trac issue 11. Created by ahornung on 1970-01-01T01:22:26, last modified: 1970-01-01T01:22:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant