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)
 
 ITEM_WITH_SHAPE (BOARD_ITEM *aParent, const std::shared_ptr< SHAPE > &aShape, std::shared_ptr< SHAPE > aParentShape)
 

Public Attributes

BOARD_ITEM * parent
 
const SHAPE * shape
 
std::shared_ptr< SHAPE > shapeStorage
 
std::shared_ptr< SHAPE > parentShape
 Never null; Insert() only builds these from a shape wxCHECK2_MSG has already validated.
 

Detailed Description

Definition at line 48 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 )
inline

Definition at line 50 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 )
inline

Definition at line 58 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

Never null; Insert() only builds these from a shape wxCHECK2_MSG has already validated.

Definition at line 71 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 68 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: