Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / DoOverlap Method
First rectangle min 3D point
First rectangle max 3D point
Second rectangle min 3D point
Second rectangle max 3D point

In This Topic
    DoOverlap Method (Utility)
    In This Topic
    Check if two bounding boxes overlap.
    Syntax
    'Declaration
     
    Public Shared Function DoOverlap( _
       ByVal firstMin As Point3D, _
       ByVal firstMax As Point3D, _
       ByVal secondMin As Point3D, _
       ByVal secondMax As Point3D _
    ) As Boolean
    public static bool DoOverlap( 
       Point3D firstMin,
       Point3D firstMax,
       Point3D secondMin,
       Point3D secondMax
    )

    Parameters

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

    Return Value

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