testAarAar

Test whether the axis-aligned rectangle with minimum corner <code>(minXA, minYA)</code> and maximum corner <code>(maxXA, maxYA)</code> intersects the axis-aligned rectangle with minimum corner <code>(minXB, minYB)</code> and maximum corner <code>(maxXB, maxYB)</code>.

@param minXA the x coordinate of the minimum corner of the first axis-aligned rectangle @param minYA the y coordinate of the minimum corner of the first axis-aligned rectangle @param maxXA the x coordinate of the maximum corner of the first axis-aligned rectangle @param maxYA the y coordinate of the maximum corner of the first axis-aligned rectangle @param minXB the x coordinate of the minimum corner of the second axis-aligned rectangle @param minYB the y coordinate of the minimum corner of the second axis-aligned rectangle @param maxXB the x coordinate of the maximum corner of the second axis-aligned rectangle @param maxYB the y coordinate of the maximum corner of the second axis-aligned rectangle @return <code>true</code> iff both axis-aligned rectangles intersect; <code>false</code> otherwise

  1. bool testAarAar(double minXA, double minYA, double maxXA, double maxYA, double minXB, double minYB, double maxXB, double maxYB)
    public static
    bool
    testAarAar
    (
    double minXA
    ,
    double minYA
    ,
    double maxXA
    ,
    double maxYA
    ,
    double minXB
    ,
    double minYB
    ,
    double maxXB
    ,
    double maxYB
    )
  2. bool testAarAar(Vector2d minA, Vector2d maxA, Vector2d minB, Vector2d maxB)

Meta