Changeset 2592 for GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktb.cpp
- Timestamp:
- 01/14/08 15:54:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktb.cpp
r2582 r2592 61 61 float tclosest = Limits::Infinity; 62 62 int intersected = 0; 63 // rayIndex += rayOffset; 63 64 // iterate the whole list and find out the nearest intersection 64 65 for (ObjectContainer::iterator sc = list->begin(); sc != sc_end; sc++) { … … 352 353 } 353 354 355 // Set the pointers to children for the interior node 356 void 357 CKTBAllocMan::SetInteriorNodeLeft(SKTBNodeT *node, 358 SKTBNodeT *leftChild) 359 { 360 leftChild = leftChild; // to satisfy the compiler 361 362 // Check on correctness of DFS order 363 assert( (node+1 == leftChild) || (node+2 == leftChild) || (node+4 == leftChild) ); 364 } 365 366 // Set the pointers to children for the interior node 367 void 368 CKTBAllocMan::SetInteriorNodeRight(SKTBNodeT *node, 369 SKTBNodeT *rightChild) 370 { 371 node->right = rightChild; 372 } 373 374 354 375 // Create the representation of the leaf. Note that possibly there 355 376 // can be special cases, such as 0, 1, 2, or 3 objects, or in general
Note: See TracChangeset
for help on using the changeset viewer.