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