public static boolean testPointAar(double pX, double pY, double minX, double minY, double maxX, double maxY) {
        return pX >= minX && pY >= minY && pX <= maxX && pY <= maxY;
    }
public static boolean testPointAar ( double pX , double pY , double minX , double minY , double maxX , double maxY ) { return pX >= minX && pY >= minY && pX <= maxX && pY <= maxY ; }
Test whether the given point <code>(pX, pY)</code> lies inside the axis-aligned rectangle with the minimum corner <code>(minX, minY)</code>
and maximum corner <code>(maxX, maxY)</code>.

@param pX
the x coordinate of the point
@param pY
the y coordinate of the point
@param minX
the x coordinate of the minimum corner of the axis-aligned rectangle
@param minY
the y coordinate of the minimum corner of the axis-aligned rectangle
@param maxX
the x coordinate of the maximum corner of the axis-aligned rectangle
@param maxY
the y coordinate of the maximum corner of the axis-aligned rectangle
@return <code>true</code> iff the point lies inside the axis-aligned rectangle; <code>false</code> otherwise