Function S2Shape.chainEdge

Returns the edge at offset "offset" within edge chain "chain_id". Equivalent to "shape.edge(shape.chain(chain_id).start + offset)" but may be more efficient.

abstract S2Shape.Edge chainEdge (
  int chain_id,
  int offset
) const;