//컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 //Procedure recurse //------------------------------------------------------------------------------ //Author Paul. //Date Thu 24 Aug 1995 //Modified // //Description // //Inputs // //Returns // //Externals //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ void btree::recurse(BaseObj3DPtr next_index) //PD 12Mar96 { BaseObj3DPtr scan_index; //PD 12Mar96 do { scan_index = next_index; if ((next_index = scan_index->rptr)!=NULL) recurse(next_index); drw_obj(scan_index); } while ((next_index = scan_index->lptr)!=NULL); }
//컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴 //Procedure nz_recurse //Author Paul. //Date Wed 28 Oct 1998 //------------------------------------------------------------------------------ void btree::nz_recurse(BaseObj3DPtr next_index) //PD 12Mar96 { BaseObj3DPtr scan_index; //PD 12Mar96 do { scan_index = next_index; if ((next_index = scan_index->rptr)!=NULL) recurse(next_index); bool oldState=current_screen->DoSetZUpdate(false); drw_obj(scan_index); current_screen->DoFlushAll(false); current_screen->DoSetZUpdate(oldState); } while ((next_index = scan_index->lptr)!=NULL); }
void btree::insert_object2(BaseObj3DPtr new_object) { drw_obj(new_object); }