Home
last modified time | relevance | path

Searched refs:SWAP_MASK (Results 1 – 4 of 4) sorted by relevance

/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellId.java88 private static final int SWAP_MASK = 0x01; field in S2CellId
102 initLookupCell(0, 0, 0, SWAP_MASK, 0, SWAP_MASK);
104 initLookupCell(0, 0, 0, SWAP_MASK | INVERT_MASK, 0, SWAP_MASK | INVERT_MASK);
707 int bits = (face & SWAP_MASK); in fromFaceIJ()
729 bits &= (SWAP_MASK | INVERT_MASK); in getBits()
745 int bits = (face & SWAP_MASK); in toFaceIJOrientation()
773 bits ^= S2.SWAP_MASK; in toFaceIJOrientation()
801 bits &= (SWAP_MASK | INVERT_MASK); in getBits1()
DS2.java37 public static final int SWAP_MASK = 0x01; field in S2
67 {SWAP_MASK, 0, 0, INVERT_MASK + SWAP_MASK};
/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2Test.java38 S2.ijToPos(r ^ S2.SWAP_MASK, swapAxes(i))); in testTraversalOrder()
40 swapAxes(S2.posToIJ(r ^ S2.SWAP_MASK, i))); in testTraversalOrder()
91 int sign = ((face & S2.SWAP_MASK) != 0) ? -1 : 1; in testFaceUVtoXYZ()
DS2CellTest.java37 assertEquals(cell.orientation(), face & S2.SWAP_MASK); in testFaces()