KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_group.cpp File Reference
#include "pcb_group.h"
#include <bitmaps.h>
#include <eda_draw_frame.h>
#include <geometry/shape_compound.h>
#include <board.h>
#include <board_item.h>
#include <confirm.h>
#include <footprint.h>
#include <pcb_generator.h>
#include <string_utils.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>
#include <properties/property.h>
#include <properties/property_mgr.h>

Go to the source code of this file.

Classes

struct  PCB_GROUP_DESC
 

Functions

static EDA_GROUP * getClosestGroup (const BOARD_ITEM &aItem, bool isFootprintEditor)
 
static EDA_GROUP * getNestedGroup (const BOARD_ITEM &aItem, const 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()

static EDA_GROUP * getClosestGroup ( const BOARD_ITEM & aItem,
bool isFootprintEditor )
static

◆ getNestedGroup()

static EDA_GROUP * getNestedGroup ( const BOARD_ITEM & aItem,
const EDA_GROUP * aScope,
bool isFootprintEditor )
static

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

Definition at line 158 of file pcb_group.cpp.

References getClosestGroup(), and group.

Variable Documentation

◆ _PCB_GROUP_DESC

struct PCB_GROUP_DESC _PCB_GROUP_DESC
static