code: public static ConvexPolygon updateConvexPolygon(ConvexPolygon polygon, DenseMatrix64F points)
      {
          assert points.numCols == 2;
          int rows = points.numRows;
          double[] d = points.data;
          for (int row=0;row<rows;row++)
          {
              polygon.addPoint(d[2*row], d[2*row+1]);
          }
          return polygon;
      }
docs: Creates a minimum convex polygon that contains every point either as a
  boundary or inside.
  <p>Existing points are removed.
  @param polygon
  @param points
  @return