34 bool hasCourtyard =
false;
48 bbox = courtyard.
BBox();
59 builder.
Add( min, max, footprint );
67 const std::function<
bool(
FOOTPRINT* )>& aVisitor )
const
72 m_tree.Search( min, max, aVisitor );
Information pertinent to a Pcbnew printed circuit board.
const FOOTPRINTS & Footprints() const
constexpr BOX2< Vec > & Merge(const BOX2< Vec > &aRect)
Modify the position and size of the rectangle in order to contain aRect.
constexpr coord_type GetLeft() const
constexpr coord_type GetRight() const
constexpr coord_type GetTop() const
constexpr coord_type GetBottom() const
Builder for constructing a PACKED_RTREE from a set of items.
void Add(const ELEMTYPE aMin[NUMDIMS], const ELEMTYPE aMax[NUMDIMS], const DATATYPE &aData)
void Reserve(size_t aCount)
Represent a set of closed polygons.
int OutlineCount() const
Return the number of outlines in the set.
const BOX2I BBox(int aClearance=0) const override
Compute a bounding box of the shape, with a margin of aClearance a collision.
PCB_LAYER_ID
A quick note on layer IDs: