| 
    KiCad PCB EDA Suite
    
   | 
 
#include <confirm.h>#include <pcb_edit_frame.h>#include <widgets/msgpanel.h>#include <board.h>#include <footprint.h>#include <lset.h>#include <pcb_shape.h>#include <pad.h>#include <board_commit.h>#include <connectivity/connectivity_data.h>#include <progress_reporter.h>#include "ar_autoplacer.h"#include "ar_matrix.h"#include <memory>#include <ratsnest/ratsnest_data.h>Go to the source code of this file.
Macros | |
| #define | AR_GAIN 16 | 
| #define | AR_KEEPOUT_MARGIN 500 | 
| #define | AR_ABORT_PLACEMENT -1 | 
| #define | STEP_AR_MM 1.0 | 
| #define | CELL_IS_EMPTY 0x00 | 
| #define | CELL_IS_HOLE 0x01 /* a conducting hole or obstacle */ | 
| #define | CELL_IS_MODULE 0x02 /* auto placement occupied by a footprint */ | 
| #define | CELL_IS_EDGE 0x20 /* Area and auto-placement: limiting cell contour (Board, Zone) */ | 
| #define | CELL_IS_FRIEND 0x40 /* Area and auto-placement: cell part of the net */ | 
| #define | CELL_IS_ZONE 0x80 /* Area and auto-placement: cell available */ | 
Functions | |
| static bool | sortFootprintsByComplexity (FOOTPRINT *ref, FOOTPRINT *compare) | 
| static bool | sortFootprintsByRatsnestSize (FOOTPRINT *ref, FOOTPRINT *compare) | 
| #define AR_ABORT_PLACEMENT -1 | 
Definition at line 47 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::AutoplaceFootprints().
| #define AR_GAIN 16 | 
Definition at line 45 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::genModuleOnRoutingMatrix(), and AR_AUTOPLACER::testFootprintOnBoard().
| #define AR_KEEPOUT_MARGIN 500 | 
Definition at line 46 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::genModuleOnRoutingMatrix().
| #define CELL_IS_EDGE 0x20 /* Area and auto-placement: limiting cell contour (Board, Zone) */ | 
Definition at line 55 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::genPlacementRoutingMatrix().
| #define CELL_IS_EMPTY 0x00 | 
Definition at line 52 of file ar_autoplacer.cpp.
| #define CELL_IS_FRIEND 0x40 /* Area and auto-placement: cell part of the net */ | 
Definition at line 56 of file ar_autoplacer.cpp.
| #define CELL_IS_HOLE 0x01 /* a conducting hole or obstacle */ | 
Definition at line 53 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::genPlacementRoutingMatrix().
| #define CELL_IS_MODULE 0x02 /* auto placement occupied by a footprint */ | 
Definition at line 54 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::genModuleOnRoutingMatrix(), and AR_AUTOPLACER::testRectangle().
| #define CELL_IS_ZONE 0x80 /* Area and auto-placement: cell available */ | 
Definition at line 57 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::fillMatrix(), and AR_AUTOPLACER::testRectangle().
| #define STEP_AR_MM 1.0 | 
Definition at line 49 of file ar_autoplacer.cpp.
Referenced by AR_AUTOPLACER::AR_AUTOPLACER().
Definition at line 713 of file ar_autoplacer.cpp.
References FOOTPRINT::GetArea(), and FOOTPRINT::GetPadCount().
Referenced by AR_AUTOPLACER::pickFootprint().
Definition at line 724 of file ar_autoplacer.cpp.
References FOOTPRINT::GetArea(), and FOOTPRINT::GetFlag().
Referenced by AR_AUTOPLACER::pickFootprint().