KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRC_RTREE::ITEM_WITH_SHAPE Struct Reference

#include <drc_rtree.h>

Public Member Functions

 ITEM_WITH_SHAPE (BOARD_ITEM *aParent, const SHAPE *aShape, std::shared_ptr< SHAPE > aParentShape=nullptr)
 
 ITEM_WITH_SHAPE (BOARD_ITEM *aParent, const std::shared_ptr< SHAPE > &aShape, std::shared_ptr< SHAPE > aParentShape=nullptr)
 

Public Attributes

BOARD_ITEMparent
 
const SHAPEshape
 
std::shared_ptr< SHAPEshapeStorage
 
std::shared_ptr< SHAPEparentShape
 

Detailed Description

Definition at line 52 of file drc_rtree.h.

Constructor & Destructor Documentation

◆ ITEM_WITH_SHAPE() [1/2]

DRC_RTREE::ITEM_WITH_SHAPE::ITEM_WITH_SHAPE ( BOARD_ITEM * aParent,
const SHAPE * aShape,
std::shared_ptr< SHAPE > aParentShape = nullptr )
inline

Definition at line 54 of file drc_rtree.h.

References move, parent, parentShape, shape, and shapeStorage.

◆ ITEM_WITH_SHAPE() [2/2]

DRC_RTREE::ITEM_WITH_SHAPE::ITEM_WITH_SHAPE ( BOARD_ITEM * aParent,
const std::shared_ptr< SHAPE > & aShape,
std::shared_ptr< SHAPE > aParentShape = nullptr )
inline

Definition at line 62 of file drc_rtree.h.

References move, parent, parentShape, shape, and shapeStorage.

Member Data Documentation

◆ parent

BOARD_ITEM* DRC_RTREE::ITEM_WITH_SHAPE::parent

◆ parentShape

std::shared_ptr<SHAPE> DRC_RTREE::ITEM_WITH_SHAPE::parentShape

Definition at line 73 of file drc_rtree.h.

Referenced by ITEM_WITH_SHAPE(), and ITEM_WITH_SHAPE().

◆ shape

const SHAPE* DRC_RTREE::ITEM_WITH_SHAPE::shape

◆ shapeStorage

std::shared_ptr<SHAPE> DRC_RTREE::ITEM_WITH_SHAPE::shapeStorage

Definition at line 72 of file drc_rtree.h.

Referenced by ITEM_WITH_SHAPE(), and ITEM_WITH_SHAPE().


The documentation for this struct was generated from the following file: