KiCad PCB EDA Suite
SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY Struct Reference

Public Member Functions

 SHAPE_ENTRY (T aParent)
 
 ~SHAPE_ENTRY ()
 

Public Attributes

parent
 
const SHAPEshape
 
BOX2I bbox
 

Detailed Description

template<class T, const SHAPE * = defaultShapeFunctor<T>>
struct SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY

Definition at line 39 of file shape_index_list.h.

Constructor & Destructor Documentation

template<class T, const SHAPE * = defaultShapeFunctor<T>>
SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::SHAPE_ENTRY ( aParent)
inline

Definition at line 41 of file shape_index_list.h.

References SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::bbox, SHAPE::BBox(), SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::parent, and SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::shape.

42  {
43  shape = ShapeFunctor( aParent );
44  bbox = shape->BBox( 0 );
45  parent = aParent;
46  }
BOX2I bbox
const SHAPE * shape
virtual const BOX2I BBox(int aClearance=0) const =0
Function BBox()
T parent
template<class T, const SHAPE * = defaultShapeFunctor<T>>
SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::~SHAPE_ENTRY ( )
inline

Definition at line 48 of file shape_index_list.h.

49  {
50  }

Member Data Documentation

template<class T, const SHAPE * = defaultShapeFunctor<T>>
BOX2I SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::bbox

Definition at line 54 of file shape_index_list.h.

Referenced by SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::SHAPE_ENTRY().

template<class T, const SHAPE * = defaultShapeFunctor<T>>
T SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::parent

Definition at line 52 of file shape_index_list.h.

Referenced by SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::SHAPE_ENTRY().

template<class T, const SHAPE * = defaultShapeFunctor<T>>
const SHAPE* SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::shape

Definition at line 53 of file shape_index_list.h.

Referenced by SHAPE_INDEX_LIST< T, >::SHAPE_ENTRY::SHAPE_ENTRY().


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