Function GridGraph.GetConnectionCost
        
                GetConnectionCost
        
                (int dir)
    
            
            Default cost of moving one node in a particular direction.
                Public
            
        uint GetConnectionCost (
int  |     dir  |         
Default cost of moving one node in a particular direction.
Note
You can only call this after the graph has been scanned. Otherwise it will return zero.
        Z 
        |
        |
     6  2  5
      \ | /
--  3 - X - 1  ----- X
      / | \
     7  0  4
        |
        |