IteratorBase.locateImpl

The default implementation of Locate(S2Point). It is instantiated by each subtype in order to (1) minimize the number of virtual method calls (since subtypes are typically "final") and (2) ensure that the correct versions of non-virtual methods such as cell() are called.

  1. bool locateImpl(S2Point target_point, IterT it)
    class IteratorBase
    protected static
    bool
    locateImpl
    (
    IterT
    )
  2. CellRelation locateImpl(S2CellId target, IterT it)

Meta