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 <api/api_enums.h>
#include <api/api_utils.h>
#include <api/api_pcb_utils.h>
#include <api/board/board_types.pb.h>
#include <google/protobuf/any.pb.h>
#include <wx/debug.h>

Go to the source code of this file.

Classes

struct  PCB_GROUP_DESC
 

Functions

EDA_GROUPgetClosestGroup (BOARD_ITEM *aItem, bool isFootprintEditor)
 
EDA_GROUPgetNestedGroup (BOARD_ITEM *aItem, EDA_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()

EDA_GROUP * getClosestGroup ( BOARD_ITEM aItem,
bool  isFootprintEditor 
)

◆ getNestedGroup()

EDA_GROUP * getNestedGroup ( BOARD_ITEM aItem,
EDA_GROUP aScope,
bool  isFootprintEditor 
)

Returns the top level group inside the aScope group, or nullptr.

Definition at line 126 of file pcb_group.cpp.

References getClosestGroup(), group, and PCB_FOOTPRINT_T.

Variable Documentation

◆ _PCB_GROUP_DESC

struct PCB_GROUP_DESC _PCB_GROUP_DESC
static