39 bbox.
Merge( item->GetBoundingBox() );
59 bbox.
Merge( item->GetBoundingBox() );
constexpr Vec Centre() const
constexpr BOX2< Vec > & Merge(const BOX2< Vec > &aRect)
Modify the position and size of the rectangle in order to contain aRect.
A base class for most all the KiCad significant classes used in schematics and boards.
virtual VECTOR2I GetPosition() const
virtual const BOX2I GetBoundingBox() const
Return the orthogonal bounding box of this object for display purposes.
VECTOR2I GetCenter() const override
Returns the center point of the selection area bounding box.
const BOX2I ViewBBox() const override
Return the bounding box for all stored items covering all its layers.
std::deque< EDA_ITEM * > m_items
int Size() const
Returns the number of selected parts.