docs: public HalfEdge getEdge(int i) {
          HalfEdge he = he0;
          while (i > 0) {
              he = he.next;
              i--;
          }
          while (i < 0) {
              he = he.prev;
              i++;
          }
          return he;
      }