wxArt2D
|
the data structure holding the per point information More...
#include <route.h>
Public Attributes | |
unsigned int | m_cost |
minimum cost to reach this point | |
unsigned short | m_flags |
various flags | |
unsigned char | m_direction |
direction to the source (only set if reachable) | |
unsigned char | m_prevdir |
direction of the previous point | |
unsigned short | m_x |
coordinates of this point (only set if reachable) | |
unsigned short | m_y |
the data structure holding the per point information
a two dimensional array of RoutePoint is used for routing information, like which points are excluded from routing because they are occupied by other objects. Next to that the route os the wire to be routed is stored via previous and next pointers. Per grid point four RoutePoint are maintained, for the four directions a wire can enter this grid point.