Function S2Loop.orientedVertex

Like vertex(), but this method returns vertices in reverse order if the loop represents a polygon hole. For example, arguments 0, 1, 2 are mapped to vertices n-1, n-2, n-3, where n == num_vertices(). This ensures that the interior of the polygon is always to the left of the vertex chain.

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

REQUIRES

0 <= i < 2 * num_vertices()