KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board.cpp File Reference
#include <iterator>
#include <wx/log.h>
#include <drc/drc_rtree.h>
#include <board_design_settings.h>
#include <board_commit.h>
#include <board.h>
#include <core/arraydim.h>
#include <core/kicad_algo.h>
#include <connectivity/connectivity_data.h>
#include <convert_shape_list_to_polygon.h>
#include <footprint.h>
#include <pcb_base_frame.h>
#include <pcb_track.h>
#include <pcb_marker.h>
#include <pcb_group.h>
#include <pcb_generator.h>
#include <pcb_target.h>
#include <pcb_shape.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <pcb_table.h>
#include <pcb_dimension.h>
#include <pgm_base.h>
#include <pcbnew_settings.h>
#include <progress_reporter.h>
#include <project.h>
#include <project/net_settings.h>
#include <project/project_file.h>
#include <project/project_local_settings.h>
#include <ratsnest/ratsnest_data.h>
#include <reporter.h>
#include <tool/tool_manager.h>
#include <tool/selection_conditions.h>
#include <string_utils.h>
#include <core/thread_pool.h>
#include <zone.h>
#include <mutex>

Go to the source code of this file.

Functions

bool sortPadsByXthenYCoord (PAD *const &aLH, PAD *const &aRH)
 Used by #GetSortedPadListByXCoord to sort a pad list by X coordinate value.
 

Function Documentation

◆ sortPadsByXthenYCoord()

bool sortPadsByXthenYCoord ( PAD *const &  aLH,
PAD *const &  aRH 
)

Used by #GetSortedPadListByXCoord to sort a pad list by X coordinate value.

This function is used to build ordered pads lists

Definition at line 2153 of file board.cpp.

References PAD::GetPosition(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by BOARD::GetSortedPadListByXthenYCoord().