S2PolygonLayer.this

Specifies that a polygon should be constructed using the given options, and that any labels attached to the input edges should be returned in "label_set_ids" and "label_set_lexicion".

The labels associated with the edge "polygon.loop(i).vertex({j, j+1})" can be retrieved as follows:

for (int32 label : label_set_lexicon.id_set(label_set_idsij)) {...}

  1. this(S2Polygon polygon, Options options)
  2. this(S2Polygon polygon, LabelSetIds label_set_ids, IdSetLexicon label_set_lexicon, Options options)

Meta