Commit c6cee52c authored by dickelbeck's avatar dickelbeck

added bool Intersects()

parent 0e709a12
...@@ -654,6 +654,13 @@ public: ...@@ -654,6 +654,13 @@ public:
m_Size.x = pos.x - m_Pos.x; m_Size.y = pos.y - m_Pos.y; 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) * Function operator(wxRect)
* overloads the cast operator to return a wxRect * overloads the cast operator to return a wxRect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment