KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board_exchange_footprint.cpp File Reference
#include <algorithm>
#include <memory>
#include <set>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <board.h>
#include <board_commit.h>
#include <board_design_settings.h>
#include <board_item.h>
#include <core/mirror.h>
#include <eda_group.h>
#include <embedded_files.h>
#include <footprint.h>
#include <footprint_utils.h>
#include <math/util.h>
#include <netinfo.h>
#include <pad.h>
#include <pcb_dimension.h>
#include <pcb_field.h>
#include <pcb_group.h>
#include <pcb_point.h>
#include <pcb_text.h>
#include <zone.h>

Go to the source code of this file.

Functions

static void processTextItem (const PCB_TEXT &aSrc, PCB_TEXT &aDest, const VECTOR2I &aPosShift, const EDA_ANGLE &aAngleShift, bool aResetText, bool aResetTextLayers, bool aResetTextEffects, bool aResetTextPositions, bool *aUpdated)
 
template<typename T>
static std::vector< std::pair< T *, T * > > matchItemsBySimilarity (const std::vector< T * > &aExisting, const std::vector< T * > &aNew)
 

Function Documentation

◆ matchItemsBySimilarity()

template<typename T>
static std::vector< std::pair< T *, T * > > matchItemsBySimilarity ( const std::vector< T * > & aExisting,
const std::vector< T * > & aNew )
static

Definition at line 97 of file board_exchange_footprint.cpp.

References T.

Referenced by BOARD::ExchangeFootprint().

◆ processTextItem()