|
PCB Environment 2
|
#include <NavPoint.hpp>
Data Fields | |
| int8_t | _RouteTracks {0} |
| int8_t | _RouteVias {0} |
| int8_t | _PinTracks {0} |
| int8_t | _PinVias {0} |
| int8_t | Sum {0} |
| int8_t | RRRTrack {0} |
This struct keeps track of how many routes and pins require a grid cell to be kept free. We need a count, as the clearance areas of multiple tracks and pins may overlap. Sometimes, parts of multiple tracks or pins themselves may even pass through the same cell. When we delete one source of keepout, this ensures the cell is still marked as occupied. FIXME: I forgot why routes and pins needed separate counts.