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.

REQUIRES: 0 <= i < 2 * num_vertices()

class S2Loop
const
orientedVertex
(
int i
)

Meta