Home
last modified time | relevance | path

Searched refs:fromAxisHeight (Results 1 – 7 of 7) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CapTest.java49 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()
DS2CellUnionTest.java323 S2Cap.fromAxisHeight(cap.axis(), Math.min(2.0, Math.pow(1e2, rand.nextDouble()) in testExpand()
DS2LatLngRectTest.java200 .getCapBound().approxEquals(S2Cap.fromAxisHeight(new S2Point(1, 0, 0), 0.5))); in testBasic()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2Cap.java63 public static S2Cap fromAxisHeight(S2Point axis, double height) { in fromAxisHeight() method in S2Cap
159 return S2Cap.fromAxisHeight(S2Point.neg(axis), cHeight); in complement()
DS2Cell.java281 S2Cap cap = S2Cap.fromAxisHeight(S2Point.normalize(S2Projections.faceUvToXyz(face, u, v)), 0); in getCapBound()
DS2CellUnion.java437 S2Cap cap = S2Cap.fromAxisHeight(centroid, 0); in getCapBound()
DS2LatLngRect.java531 S2Cap vertexCap = S2Cap.fromAxisHeight(getVertex(k).toPoint(), cap in convolveWithCap()