Lines Matching refs:y2
548 * @param y2 the Y coordinate of the end point of the specified
555 public boolean intersectsLine(double x1, double y1, double x2, double y2) {
557 if ((out2 = outcode(x2, y2)) == 0) {
569 y1 = y1 + (x - x1) * (y2 - y1) / (x2 - x1);
576 x1 = x1 + (y - y1) * (x2 - x1) / (y2 - y1);
738 double y2 = Math.min(src1.getMaxY(), src2.getMaxY());
739 dest.setFrame(x1, y1, x2-x1, y2-y1);
777 double y2 = Math.max(src1.getMaxY(), src2.getMaxY());
778 dest.setFrameFromDiagonal(x1, y1, x2, y2);
804 double y2 = Math.max(getMaxY(), newy);
805 setRect(x1, y1, x2 - x1, y2 - y1);
842 double y2 = Math.max(getMaxY(), r.getMaxY());
843 setRect(x1, y1, x2 - x1, y2 - y1);