code: public void removeVertex(int i) {
          this.x.remove(i);
          this.y.remove(i);
          this.z.remove(i);
          this.colors.remove(i);
          calcG();
      }
docs: Removes the point from Lines.
  
  @param i The index number of the point.