Searched refs:fromAxisHeight (Results 1 – 7 of 7) sorted by relevance
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CapTest.java | 49 S2Cap xaxis = S2Cap.fromAxisHeight(new S2Point(1, 0, 0), 0); in testBasic() 81 S2Cap hemi = S2Cap.fromAxisHeight(S2Point.normalize(new S2Point(1, 0, 1)), 1); in testBasic() 114 assertTrue(!concave.contains(S2Cap.fromAxisHeight(S2Point.neg(concave.axis()), 0.1))); in testBasic()
|
D | S2CellUnionTest.java | 323 S2Cap.fromAxisHeight(cap.axis(), Math.min(2.0, Math.pow(1e2, rand.nextDouble()) in testExpand()
|
D | S2LatLngRectTest.java | 200 .getCapBound().approxEquals(S2Cap.fromAxisHeight(new S2Point(1, 0, 0), 0.5))); in testBasic()
|
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2Cap.java | 63 public static S2Cap fromAxisHeight(S2Point axis, double height) { in fromAxisHeight() method in S2Cap 159 return S2Cap.fromAxisHeight(S2Point.neg(axis), cHeight); in complement()
|
D | S2Cell.java | 281 S2Cap cap = S2Cap.fromAxisHeight(S2Point.normalize(S2Projections.faceUvToXyz(face, u, v)), 0); in getCapBound()
|
D | S2CellUnion.java | 437 S2Cap cap = S2Cap.fromAxisHeight(centroid, 0); in getCapBound()
|
D | S2LatLngRect.java | 531 S2Cap vertexCap = S2Cap.fromAxisHeight(getVertex(k).toPoint(), cap in convolveWithCap()
|