Function S2Polygon.initializeOriented

Like InitNested(), but expects loops to be oriented such that the polygon interior is on the left-hand side of all loops. This implies that shells and holes should have opposite orientations in the input to this method. (During initialization, loops representing holes will automatically be inverted.)

void initializeOriented (
  S2Loop[] loops
);