Searched refs:getVertex (Results 1 – 12 of 12) sorted by relevance
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2Cell.java | 85 public S2Point getVertex(int k) { in getVertex() method in S2Cell 230 S2Point.sub(getVertex(2), getVertex(0)), S2Point.sub(getVertex(3), getVertex(1))).norm(); in approxArea() 247 S2Point v0 = getVertex(0); in exactArea() 248 S2Point v1 = getVertex(1); in exactArea() 249 S2Point v2 = getVertex(2); in exactArea() 250 S2Point v3 = getVertex(3); in exactArea() 283 cap = cap.addPoint(getVertex(k)); in getCapBound()
|
D | S2LatLngRect.java | 198 public S2LatLng getVertex(int k) { in getVertex() method in S2LatLngRect 412 cellV[i] = cell.getVertex(i); // Must be normalized. in intersects() 531 S2Cap vertexCap = S2Cap.fromAxisHeight(getVertex(k).toPoint(), cap in convolveWithCap() 620 midCap = midCap.addPoint(getVertex(k).toPoint()); in getCapBound()
|
D | S2Cap.java | 303 vertices[k] = cell.getVertex(k); in contains() 319 vertices[k] = cell.getVertex(k); in mayIntersect()
|
D | S2Polyline.java | 193 cellVertices[i] = cell.getVertex(i); in mayIntersect()
|
D | S2EdgeIndex.java | 473 vertices[i] = cell.getVertex(i); in edgeIntersectsCellBoundary()
|
D | S2Loop.java | 132 vertices[i] = cell.getVertex(i); in S2Loop()
|
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CellTest.java | 223 assertTrue(childCap.contains(children[i].getVertex(j))); in testSubdivide() 224 assertTrue(childRect.contains(children[i].getVertex(j))); in testSubdivide() 226 assertTrue(parentCap.contains(children[i].getVertex(j))); in testSubdivide() 227 if (!parentRect.contains(children[i].getVertex(j))) { in testSubdivide() 231 System.out.println("Vertex raw(j) " + children[i].getVertex(j)); in testSubdivide() 232 System.out.println("Latlng of vertex: " + new S2LatLng(children[i].getVertex(j))); in testSubdivide() 235 assertTrue(parentRect.contains(children[i].getVertex(j))); in testSubdivide() 251 if (childCap.contains(children[j].getVertex(k))) { in testSubdivide()
|
D | S2LatLngRectTest.java | 52 || (!r.isEmpty() && cell.contains(r.getVertex(i).toPoint()))) { in testCellOps() 109 assertEquals(r1.getVertex(0), S2LatLng.fromRadians(0, S2.M_PI)); in testBasic() 110 assertEquals(r1.getVertex(1), S2LatLng.fromRadians(0, 0)); in testBasic() 111 assertEquals(r1.getVertex(2), S2LatLng.fromRadians(S2.M_PI_2, 0)); in testBasic() 112 assertEquals(r1.getVertex(3), S2LatLng.fromRadians(S2.M_PI_2, S2.M_PI)); in testBasic() 127 S2.simpleCCW(r.getVertex((k - 1) & 3).toPoint(), r.getVertex(k).toPoint(), in testBasic() 128 r.getVertex((k + 1) & 3).toPoint())); in testBasic()
|
D | S2LoopTest.java | 216 loopVertices.add(cell.getVertex(k)); in testContains() 217 points.add(cell.getVertex(k)); in testContains() 250 S2Point a = cell.getVertex(k); in makeCellLoop() 251 S2Point b = cell.getVertex((k + 1) & 3); in makeCellLoop()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/ |
D | ShapeData.java | 83 PointF vertex1 = curve1.getVertex(); in interpolateBetween() 87 PointF vertex2 = curve2.getVertex(); in interpolateBetween()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/ |
D | CubicCurveData.java | 46 public PointF getVertex() { in getVertex() method in CubicCurveData
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/ |
D | MiscUtils.java | 30 PointF vertex = curveData.getVertex(); in getPathFromData()
|