Eyeshot 9.0 WinForms API Reference
DoOverlap2D(Point2D,Point2D,Point2D,Point2D) Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class > DoOverlap2D Method : DoOverlap2D(Point2D,Point2D,Point2D,Point2D) Method
First rectangle min 2D point
First rectangle max 2D point
Second rectangle min 2D point
Second rectangle max 2D point
Check if two bounding rectangles overlap.
Syntax
'Declaration
 
Public Overloads Shared Function DoOverlap2D( _
   ByVal firstMin As Point2D, _
   ByVal firstMax As Point2D, _
   ByVal secondMin As Point2D, _
   ByVal secondMax As Point2D _
) As Boolean
public static bool DoOverlap2D( 
   Point2D firstMin,
   Point2D firstMax,
   Point2D secondMin,
   Point2D secondMax
)

Parameters

firstMin
First rectangle min 2D point
firstMax
First rectangle max 2D point
secondMin
Second rectangle min 2D point
secondMax
Second rectangle max 2D point

Return Value

True if the two rectangles overlap, false otherwise.
See Also

Reference

Utility Class
Utility Members
Overload List