Changeset 177 for trunk/VUT/GtpVisibilityPreprocessor/src/KdTree.h
- Timestamp:
- 07/18/05 11:27:52 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/KdTree.h
r176 r177 86 86 class KdNode { 87 87 public: 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 88 96 KdNode(KdInterior *parent); 89 97 … … 277 285 } 278 286 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 279 298 protected: 280 299
Note: See TracChangeset
for help on using the changeset viewer.