Ignore:
Timestamp:
07/18/05 11:27:52 (19 years ago)
Author:
bittner
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/KdTree.h

    r176 r177  
    8686class KdNode { 
    8787public: 
     88  static int mailID; 
     89  int mailbox; 
     90   
     91  void Mail() { mailbox = mailID; } 
     92  static void NewMail() { mailID++; } 
     93  bool Mailed() const { return mailbox == mailID; } 
     94 
     95 
    8896  KdNode(KdInterior *parent); 
    8997 
     
    277285  } 
    278286 
     287  KdNode * 
     288  FindRandomNeighbor(KdNode *n, 
     289                     bool onlyUnmailed 
     290                     ); 
     291 
     292  int 
     293  FindNeighbors(KdNode *n, 
     294                vector<KdNode *> &neighbors, 
     295                bool onlyUnmailed 
     296                ); 
     297   
    279298protected: 
    280299 
Note: See TracChangeset for help on using the changeset viewer.