public static boolean testAabAab(
            double minXA, double minYA, double minZA,
            double maxXA, double maxYA, double maxZA,
            double minXB, double minYB, double minZB,
            double maxXB, double maxYB, double maxZB) {
        return maxXA >= minXB && maxYA >= minYB && maxZA >= minZB && 
               minXA <= maxXB && minYA <= maxYB && minZA <= maxZB;
    }
public static boolean testAabAab ( double minXA , double minYA , double minZA , double maxXA , double maxYA , double maxZA , double minXB , double minYB , double minZB , double maxXB , double maxYB , double maxZB ) { return maxXA >= minXB && maxYA >= minYB && maxZA >= minZB && minXA <= maxXB && minYA <= maxYB && minZA <= maxZB ; }
Test whether the axis-aligned box with minimum corner <code>(minXA, minYA, minZA)</code> and maximum corner <code>(maxXA, maxYA, maxZA)</code>
intersects the axis-aligned box with minimum corner <code>(minXB, minYB, minZB)</code> and maximum corner <code>(maxXB, maxYB, maxZB)</code>.

@param minXA
the x coordinate of the minimum corner of the first axis-aligned box
@param minYA
the y coordinate of the minimum corner of the first axis-aligned box
@param minZA
the z coordinate of the minimum corner of the first axis-aligned box
@param maxXA
the x coordinate of the maximum corner of the first axis-aligned box
@param maxYA
the y coordinate of the maximum corner of the first axis-aligned box
@param maxZA
the z coordinate of the maximum corner of the first axis-aligned box
@param minXB
the x coordinate of the minimum corner of the second axis-aligned box
@param minYB
the y coordinate of the minimum corner of the second axis-aligned box
@param minZB
the z coordinate of the minimum corner of the second axis-aligned box
@param maxXB
the x coordinate of the maximum corner of the second axis-aligned box
@param maxYB
the y coordinate of the maximum corner of the second axis-aligned box
@param maxZB
the z coordinate of the maximum corner of the second axis-aligned box
@return <code>true</code> iff both axis-aligned boxes intersect; <code>false</code> otherwise