Function S2Cell.getVertex

Returns the k-th vertex of the cell (k = 0,1,2,3). Vertices are returned in CCW order (lower left, lower right, upper right, upper left in the UV plane). The points returned by GetVertexRaw are not normalized. For convenience, the argument is reduced modulo 4 to the range [0..3].

s2.util.math.vector.Vector!(double,3L) getVertex (
  int k
) const;