Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / IntersectionBox Method
First box min point
First box max point
Second box min point
Second box max point
Intersection box min point
Intersection box max point

In This Topic
    IntersectionBox Method
    In This Topic
    Computes the intersection rectangle between two axis aligned boxes. This function assumes that the two boxes overlap.
    Syntax
    'Declaration
     
    Public Shared Function IntersectionBox( _
       ByVal firstMin As Point3D, _
       ByVal firstMax As Point3D, _
       ByVal secondMin As Point3D, _
       ByVal secondMax As Point3D, _
       ByRef intersMin As Point3D, _
       ByRef intersMax As Point3D _
    ) As Size3D
    public static Size3D IntersectionBox( 
       Point3D firstMin,
       Point3D firstMax,
       Point3D secondMin,
       Point3D secondMax,
       out Point3D intersMin,
       out Point3D intersMax
    )

    Parameters

    firstMin
    First box min point
    firstMax
    First box max point
    secondMin
    Second box min point
    secondMax
    Second box max point
    intersMin
    Intersection box min point
    intersMax
    Intersection box max point

    Return Value

    The size of the intersection box
    See Also