Commit 7ba2ccc7 authored by BLANCHARD Pierre's avatar BLANCHARD Pierre
Browse files

Provided a function to test if tree is empty.

parent 096352d8
......@@ -229,6 +229,13 @@ public:
return getCoordinateFromPosition(position).getMortonIndex(leafIndex);
* Indicate if tree is empty or not.
bool isEmpty(){
return root->getRightLeafIndex() < 0;
* The class works on suboctree. Most of the resources needed
* are avaiblable by using FAbstractSubOctree. But when accessing
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment