main/src/georegression/metric/Intersection2D_I32.java
public static boolean contains( RectangleLength2D_I32 a, int x, int y ) {
		if( a.getX() <= x && a.getX() + a.getWidth() > x ) {
			return a.getY() <= y && a.getY() + a.getHeight() > y;
		}
		return false;
	}
public static boolean contains( RectangleLength2D_I32 a, int x, int y ) {
		if( a.getX() <= x && a.getX() + a.getWidth() > x ) {
			return a.getY() <= y && a.getY() + a.getHeight() > y;
		}
		return false;
	}
True if the point is contained inside the rectangle

@param a Rectangle
@param x x-coordinate of point
@param y y-coordinate of point
@return true if the point is inside and false it is not