/src/main/java/org/htmlunit/util/geometry/Line2D.java
if ( Math.abs( slope_ - line.slope_.slope_) < epsilon) {
if ( Math.abs ( slope_ - line.slope_ ) < epsilon ) {
return new Point2D(startX_, intersectY); } if (!isVertical_ && line.isVertical_) { final double intersectY = slope_ * line.startX_ + yIntercept_; return new Point2D(line.startX_, intersectY); } <extra_id_0> return null; } final double intersectX = (line.yIntercept_ - yIntercept_) / (slope_ - line.slope_); final double intersectY = slope_ * intersectX + yIntercept_; return new Point2D(intersectX, intersectY); }