/src/main/java/org/htmlunit/util/geometry/Polygon2D.java
if ( !boundingBox_.contains ( x, y ) ) { return false; }
points_.add(new Point2D(x, y)); boundingBox_.extend(x, y); return this; } @Override public boolean contains(final double x, final double y) { <extra_id_0> final double outsideX = boundingBox_.getLeft() - 0.0000001; final double outsideY = boundingBox_.getBottom(); final Line2D testLine = new Line2D(outsideX, outsideY, x, y); int intersectionCount = 0; int i = 0; while (i < points_.size() - 1) {