Ignore:
Timestamp:
08/25/06 18:25:09 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/KdTree.cpp

    r1233 r1286  
    331331        ProcessMultipleRefs(front); 
    332332 
    333   delete leaf; 
    334   return node; 
     333        delete leaf; 
     334        return node; 
    335335} 
    336336 
     
    852852KdNode * 
    853853KdTree::FindRandomNeighbor(KdNode *n, 
    854                                                                                                         bool onlyUnmailed 
    855                                                                                                         ) 
     854                                                  bool onlyUnmailed 
     855                                                  ) 
    856856{ 
    857857  stack<KdNode *> nodeStack; 
     
    12881288        IN_STREAM stream(filename.c_str(), IN_BIN_MODE); 
    12891289 
    1290         //if (!stream.is_open()) return false; 
     1290        if (!stream.is_open()) return false; 
    12911291 
    12921292        std::stable_sort(objects.begin(), objects.end(), ilt); 
     
    12991299        { 
    13001300                Intersectable *obj = *oit; 
    1301  
    13021301                // compute bounding box of view space 
    13031302                mBox.Include(obj->GetBox()); 
     
    13341333 
    13351334                        ++ mStat.splits[interior->mAxis]; 
    1336  
    1337                         //Debug << "plane: " << interior->mAxis << " " << interior->mPosition << endl; 
    1338                         //Debug << "box: " << tData.mBox << endl; 
    13391335 
    13401336                        // compute new bounding box 
     
    13551351                } 
    13561352        } 
    1357  
    13581353        Debug << mStat << endl; 
    13591354 
Note: See TracChangeset for help on using the changeset viewer.