/src/main/java/org/htmlunit/util/geometry/Polygon2D.java
final Point2D start = points_.get ( i ) ; final Point2D end = points_.get ( ++i ) ;
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) { <extra_id_0> final Line2D border = new Line2D(start, end); if (border.contains(x, y)) { return true; } final Point2D intersectionPoint = border.intersect(testLine); if (intersectionPoint != null