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