40 for( ; i !=
m_items.end(); ++i )
41 bbox.
Merge( (*i)->GetBoundingBox() );
64 for( ; i !=
m_items.end(); ++i )
65 eda_bbox.
Merge( (*i)->GetBoundingBox() );
void Merge(const EDA_RECT &aRect)
Modify the position and size of the rectangle in order to contain aRect.
VECTOR2I GetCenter() const override
Returns the center point of the selection area bounding box.
virtual wxPoint GetPosition() const
const BOX2I ViewBBox() const override
Return the bounding box for all stored items covering all its layers.
std::deque< EDA_ITEM * > m_items
const wxPoint GetOrigin() const
Handle the component boundary box.
int Size() const
Returns the number of selected parts.
virtual const EDA_RECT GetBoundingBox() const
Return the orthogonal bounding box of this object for display purposes.
const wxSize GetSize() const