KiCad PCB EDA Suite
|
#include <bitmaps.h>
#include <eda_draw_frame.h>
#include <geometry/shape_compound.h>
#include <board.h>
#include <board_item.h>
#include <footprint.h>
#include <pcb_generator.h>
#include <pcb_group.h>
#include <confirm.h>
#include <widgets/msgpanel.h>
#include <view/view.h>
#include <wx/debug.h>
Go to the source code of this file.
Classes | |
struct | PCB_GROUP_DESC |
Functions | |
PCB_GROUP * | getClosestGroup (BOARD_ITEM *aItem, bool isFootprintEditor) |
PCB_GROUP * | getNestedGroup (BOARD_ITEM *aItem, PCB_GROUP *aScope, bool isFootprintEditor) |
Returns the top level group inside the aScope group, or nullptr. | |
Variables | |
static struct PCB_GROUP_DESC | _PCB_GROUP_DESC |
PCB_GROUP * getClosestGroup | ( | BOARD_ITEM * | aItem, |
bool | isFootprintEditor | ||
) |
Definition at line 122 of file pcb_group.cpp.
References BOARD_ITEM::GetParent(), BOARD_ITEM::GetParentGroup(), PCB_FOOTPRINT_T, and EDA_ITEM::Type().
Referenced by getNestedGroup(), and PCB_GROUP::WithinScope().
PCB_GROUP * getNestedGroup | ( | BOARD_ITEM * | aItem, |
PCB_GROUP * | aScope, | ||
bool | isFootprintEditor | ||
) |
Returns the top level group inside the aScope group, or nullptr.
Definition at line 132 of file pcb_group.cpp.
References getClosestGroup(), group, and PCB_FOOTPRINT_T.
Referenced by PCB_GROUP::TopLevelGroup(), and PCB_GROUP::WithinScope().
|
static |