/// <summary> /// Creates a new BFSOctree out of a DynamicOctree. /// </summary> /// <param name="octree">The DynamicOctree to create this BFSOctree out of.</param> public BFSOctree(DynamicOctree octree) { dimension = octree.dimension; uint leafCount = octree.getLeafCount(); _innerNodes = new BFSInnerNode[octree.getNodeCount() - leafCount]; _leaves = new BFSLeaf[leafCount]; convert(octree); }