KiCad PCB EDA Suite
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, 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.

55 :
56 parent( aParent ),
57 shape( aShape ),
58 shapeStorage( nullptr ),
59 parentShape( aParentShape )
60 {};
std::shared_ptr< SHAPE > parentShape
Definition: drc_rtree.h:73
std::shared_ptr< SHAPE > shapeStorage
Definition: drc_rtree.h:72

◆ ITEM_WITH_SHAPE() [2/2]

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

Definition at line 62 of file drc_rtree.h.

63 :
64 parent( aParent ),
65 shape( aShape.get() ),
66 shapeStorage( aShape ),
67 parentShape( aParentShape )
68 {};

Member Data Documentation

◆ parent

BOARD_ITEM* DRC_RTREE::ITEM_WITH_SHAPE::parent

Definition at line 70 of file drc_rtree.h.

Referenced by DRC_TEST_PROVIDER_SILK_CLEARANCE::Run().

◆ parentShape

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

Definition at line 73 of file drc_rtree.h.

◆ shape

const SHAPE* DRC_RTREE::ITEM_WITH_SHAPE::shape

Definition at line 71 of file drc_rtree.h.

Referenced by DRC_TEST_PROVIDER_SILK_CLEARANCE::Run().

◆ shapeStorage

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

Definition at line 72 of file drc_rtree.h.


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