added bool Intersects()
This commit is contained in:
parent
0e709a1227
commit
c6cee52cc6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue