code: public void setLine(int... points) {
          double[] pd = new double[points.length];
          for (int i = 0; i < points.length; i++) {
              pd[i] = points[i];
          }
          setLine(pd);
      }
docs: Sets the curve using control points given in integer precision
  
  @param points
  the control points for the curve