Home
last modified time | relevance | path

Searched refs:lowestOnBit (Results 1 – 2 of 2) sorted by relevance

/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellId.java214 return face() < NUM_FACES && ((lowestOnBit() & (0x1555555555555555L)) != 0); in isValid()
303 return new S2CellId(id - (lowestOnBit() - 1)); in rangeMin()
307 return new S2CellId(id + (lowestOnBit() - 1)); in rangeMax()
326 long newLsb = lowestOnBit() << 2; in parent()
342 long oldLsb = lowestOnBit(); in childBegin()
348 return new S2CellId(id - lowestOnBit() + lowestOnBitForLevel(level)); in childBegin()
353 long oldLsb = lowestOnBit(); in childEnd()
359 return new S2CellId(id + lowestOnBit() + lowestOnBitForLevel(level)); in childEnd()
381 return new S2CellId(id + (lowestOnBit() << 1)); in next()
390 return new S2CellId(id - (lowestOnBit() << 1)); in prev()
[all …]
DS2CellUnion.java365 if (id.lowestOnBit() < levelLsb) { in expand()
596 long mask = id.lowestOnBit() << 1; in normalize()