code: public static void drawLine(Point p1, Point p2, PlotOperator plot)
      {
          drawLine(p1.x, p1.y, p2.x, p2.y, plot);
      }
docs: Draws line (p1, p2) by plotting points using plot
  @param p1
  @param p2
  @param plot
  @param color