testAarAar
- bool testAarAar(double minXA, double minYA, double maxXA, double maxYA, double minXB, double minYB, double maxXB, double maxYB)
- bool testAarAar(Vector2d minA, Vector2d maxA, Vector2d minB, Vector2d maxB)
public static
bool
testAarAar
doml intersection_d
static functionsstatic variables
Test whether the axis-aligned rectangle with minimum corner <code>minA</code> and maximum corner <code>maxA</code> intersects the axis-aligned rectangle with minimum corner <code>minB</code> and maximum corner <code>maxB</code>.
@param minA the minimum corner of the first axis-aligned rectangle @param maxA the maximum corner of the first axis-aligned rectangle @param minB the minimum corner of the second axis-aligned rectangle @param maxB the maximum corner of the second axis-aligned rectangle @return <code>true</code> iff both axis-aligned rectangles intersect; <code>false</code> otherwise