/src/main/java/org/htmlunit/util/geometry/Polygon2D.java
&& border.contains ( intersectionPoint.getX ( ) , intersectionPoint.getY ( ) ) && testLine.contains ( intersectionPoint.getX ( ) , intersectionPoint.getY ( ) ) ) { intersectionCount++;
final Line2D border = new Line2D(start, end); if (border.contains(x, y)) { return true; } final Point2D intersectionPoint = border.intersect(testLine); if (intersectionPoint != null <extra_id_0> } return intersectionCount % 2 != 0; } @Override public boolean isEmpty() { return points_.size() < 2;