code: public Point getPoint(int position) {
          if (position<0 || position>=size()) throw new ArrayIndexOutOfBoundsException("Invalid position: " + position);
          return new Point(coordinates[0][position],coordinates[1][position]);
      }
docs: Returns the point at the given position. The position must be smaller than {@link #size()}.
  
  @param position
  @return