/**
  * Constructs a new Line2D.Iterator for given line and transformation
  * @param l - the source Line2D object
  * @param at - the AffineTransform object to apply rectangle path
  */
 internal Iterator(Line2D l, AffineTransform at)
 {
     this.x1 = l.getX1();
     this.y1 = l.getY1();
     this.x2 = l.getX2();
     this.y2 = l.getY2();
     this.t  = at;
 }
 public bool intersectsLine(Line2D l)
 {
     return(linesIntersect(l.getX1(), l.getY1(), l.getX2(), l.getY2(), getX1(), getY1(), getX2(), getY2()));
 }
 public void setLine(Line2D line)
 {
     setLine(line.getX1(), line.getY1(), line.getX2(), line.getY2());
 }
 public bool intersectsLine(Line2D l)
 {
     return intersectsLine(l.getX1(), l.getY1(), l.getX2(), l.getY2());
 }
 /**
  * Constructs a new Line2D.Iterator for given line and transformation
  * @param l - the source Line2D object
  * @param at - the AffineTransform object to apply rectangle path
  */
 internal Iterator(Line2D l, AffineTransform at)
 {
     this.x1 = l.getX1();
     this.y1 = l.getY1();
     this.x2 = l.getX2();
     this.y2 = l.getY2();
     this.t = at;
 }
 public void setLine(Line2D line)
 {
     setLine(line.getX1(), line.getY1(), line.getX2(), line.getY2());
 }