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