CELL* CELL::neighbors[8]
 

The neighbors in the balanced quadtree.

winding order of the neighbors is:

         | 0  | 1  |
     ____|____|____|_____
         |         |
       7 |         |  2
     ____|         |_____
         |         |
       6 |         |  3
     ____|_________|_____
         |    |    |
         | 5  |  4 |
    

Neighbors 0,2,4,6 should always exist. Depending on if the neighbor is on a lower refinement level, neighbors 1,3,5,7 may or may not exist. If they are not present, the pointer value should ne NULL.


Generated on Wed Oct 25 03:19:42 2006 for Lumos by  doxygen 1.4.6