/// /// Creates a new octree. /// public OctreeNode(OctreeNode parentID, int depth, int leafNo) { this._depth = depth; this._parent = parentID; nodeCellID = CellID64.newChildCellId(parentID.nodeCellID, leafNo); _children = new List <OctreeNode>(); _flag = PolyhedronIntersectEnum.Intersect; }
/// Creates a new octree. /// public OctreeNode() { nodeCellID = new CellID64((UInt64)0); // root/level-0 tile _children = new List <OctreeNode>(); _flag = PolyhedronIntersectEnum.FullyContains; }