List of utility methods to do Rectangle Intersect
boolean | intersectsRectangle(final double checkMinX, final double checkMinY, final double checkMaxX, final double checkMaxY, final double againstMinX, final double againstMinY, final double againstMaxX, final double againstMaxY) intersects Rectangle boolean output = false; if (againstMaxX > checkMinX && againstMinX < checkMaxX && againstMaxY > checkMinY && againstMinY < checkMaxY) { output = true; return output; |