KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_group.cpp File Reference
#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_GROUPgetClosestGroup (BOARD_ITEM *aItem, bool isFootprintEditor)
 
PCB_GROUPgetNestedGroup (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
 

Function Documentation

◆ getClosestGroup()

PCB_GROUP * getClosestGroup ( BOARD_ITEM aItem,
bool  isFootprintEditor 
)

◆ getNestedGroup()

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().

Variable Documentation

◆ _PCB_GROUP_DESC

struct PCB_GROUP_DESC _PCB_GROUP_DESC
static