IteratorBase.locate

Positions the iterator at the cell containing "target". If no such cell exists, returns false and leaves the iterator positioned arbitrarily. The returned index cell is guaranteed to contain all edges that might intersect the line segment between "target" and the cell center.

  1. bool locate(S2Point target)
    class IteratorBase
    abstract
    bool
    locate
  2. CellRelation locate(S2CellId target)

Meta