Add method to unjoin OBBTrees for individual volume sets

Issue #78 resolved
Paul Wilson created an issue

Supports #77.

This is to allow for rebuilding those OBBTrees after some surfaces have moved

Comments (3)

  1. Paul Wilson reporter

    Algorithmically, this results in the deletion of the portion of a volume OBBTree that results from joining surface trees, without deleting the surface trees themselves.

  2. Paul Wilson reporter

    Psuedo-code

    unjoin(vol_root)
    
    del_list.push(vol_root)
    child_list.push(get_children(vol_root))
    while child_list not empty:
         child = child_list.pop()
         if child not surf_root:
              del_list.push(child)
              child_list.push(get_children(child))
    for node in del_list:
         delete(node)
    
  3. Log in to comment