diff --git a/include/base_struct.h b/include/base_struct.h index 7730a35b5d..c8613c28b9 100644 --- a/include/base_struct.h +++ b/include/base_struct.h @@ -654,6 +654,13 @@ public: m_Size.x = pos.x - m_Pos.x; m_Size.y = pos.y - m_Pos.y; } + /** + * Function Intersects + * @return bool - true if the argument rectangle intersects this rectangle. + */ + bool Intersects( const EDA_Rect aRect ) const; + + /** * Function operator(wxRect) * overloads the cast operator to return a wxRect