main/src/georegression/metric/Intersection2D_F64.java
public static boolean contains( Rectangle2D_F64 a, double x, double y ) {
		return( a.p0.x <= x && a.p1.x > x && a.p0.y <= y && a.p1.y > y );
	}
public static boolean contains( Rectangle2D_F64 a, double x, double y ) {
		return( a.p0.x <= x && a.p1.x > x && a.p0.y <= y && a.p1.y > y );
	}
<p>
Checks to see if the specified point is inside the rectangle.  A point is inside
if it is &ge; the lower extend and &lt; the upper extent.
</p>
<p>
inside = x &ge; x0 AND x &le; x1 AND y &ge; y0 AND y &le; y1
</p>
@param a Rectangle.
@param x x-coordinate of point being tested for containment
@param y y-coordinate of point being tested for containment
@return true if inside and false if output