Home
last modified time | relevance | path

Searched refs:getVertexRaw (Results 1 – 3 of 3) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CellTest.java47 if (vertexCounts.containsKey(cell.getVertexRaw(k))) { in testFaces()
48 vertexCounts.put(cell.getVertexRaw(k), vertexCounts.get(cell in testFaces()
49 .getVertexRaw(k)) + 1); in testFaces()
51 vertexCounts.put(cell.getVertexRaw(k), 1); in testFaces()
53 assertDoubleNear(cell.getVertexRaw(k).dotProd(cell.getEdgeRaw(k)), 0); in testFaces()
54 assertDoubleNear(cell.getVertexRaw((k + 1) & 3).dotProd( in testFaces()
57 S2Point.crossProd(cell.getVertexRaw(k), cell in testFaces()
58 .getVertexRaw((k + 1) & 3))).dotProd(cell.getEdge(k)), 1.0); in testFaces()
121 double edge = cell.getVertexRaw(i).angle(cell.getVertexRaw((i + 1) & 3)); in gatherStats()
125 S2Point mid = S2Point.add(cell.getVertexRaw(i), cell in gatherStats()
[all …]
DS2LatLngRectTest.java51 if (r.contains(cell.getVertexRaw(i)) in testCellOps()
242 S2LatLng v0 = new S2LatLng(cell0tr.getVertexRaw(0)); in testBasic()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2Cell.java86 return S2Point.normalize(getVertexRaw(k)); in getVertex()
94 public S2Point getVertexRaw(int k) { in getVertexRaw() method in S2Cell