| 
    KiCad PCB EDA Suite
    
   | 
 
#include <boost/range/adaptor/reversed.hpp>#include <sch_edit_frame.h>#include <sch_line.h>#include <kiface_base.h>#include <algorithm>#include <tool/tool_manager.h>#include <core/arraydim.h>Go to the source code of this file.
Classes | |
| class | AUTOPLACER | 
| struct | AUTOPLACER::SIDE_AND_NPINS | 
| struct | AUTOPLACER::SIDE_AND_COLL | 
Macros | |
| #define | FIELD_PADDING schIUScale.MilsToIU( 15 ) | 
| #define | WIRE_V_SPACING schIUScale.MilsToIU( 100 ) | 
| #define | HPADDING schIUScale.MilsToIU( 25 ) | 
| #define | VPADDING schIUScale.MilsToIU( 15 ) | 
Functions | |
| template<typename T> | |
| T | round_n (const T &value, const T &n, bool aRoundUp) | 
| Round up/down to the nearest multiple of n.   | |
| #define FIELD_PADDING schIUScale.MilsToIU( 15 ) | 
Definition at line 62 of file autoplace_fields.cpp.
Referenced by AUTOPLACER::computeFBoxSize(), and AUTOPLACER::fieldVPlacement().
| #define HPADDING schIUScale.MilsToIU( 25 ) | 
Definition at line 64 of file autoplace_fields.cpp.
Referenced by AUTOPLACER::fieldBoxPlacement().
| #define VPADDING schIUScale.MilsToIU( 15 ) | 
Definition at line 65 of file autoplace_fields.cpp.
Referenced by AUTOPLACER::fieldBoxPlacement().
| #define WIRE_V_SPACING schIUScale.MilsToIU( 100 ) | 
Definition at line 63 of file autoplace_fields.cpp.
Referenced by AUTOPLACER::computeFBoxSize(), AUTOPLACER::fieldVPlacement(), and AUTOPLACER::fitFieldsBetweenWires().
Round up/down to the nearest multiple of n.
Definition at line 70 of file autoplace_fields.cpp.
References T.
Referenced by AUTOPLACER::computeFBoxSize(), AUTOPLACER::DoAutoplace(), AUTOPLACER::fieldVPlacement(), and AUTOPLACER::fitFieldsBetweenWires().