Searched refs:fromAxisAngle (Results 1 – 6 of 6) sorted by relevance
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CapTest.java | 55 S2Cap yaxis = S2Cap.fromAxisAngle(new S2Point(0, 1, 0), S1Angle.radians(0)); in testBasic() 75 S2Cap.fromAxisAngle(S2Point.normalize(new S2Point(1, 2, 3)), S1Angle.radians(kTinyRad)); in testBasic() 90 S2Cap concave = S2Cap.fromAxisAngle(getLatLngPoint(80, 10), S1Angle.degrees(150)); in testBasic() 109 S2Cap.fromAxisAngle(new S2Point(1, 0, 0), S1Angle.radians(S2.M_PI_4 - EPS)))); in testBasic() 111 S2Cap.fromAxisAngle(new S2Point(1, 0, 0), S1Angle.radians(S2.M_PI_4 + EPS)))); in testBasic() 128 S2Cap.fromAxisAngle(getLatLngPoint(-45, 57), S1Angle.degrees(50)).getRectBound(); in testRectBound() 134 rect = S2Cap.fromAxisAngle(S2Point.normalize(new S2Point(1, 0, 1)), S1Angle.radians(S2.M_PI_4)) in testRectBound() 141 .fromAxisAngle(S2Point.normalize(new S2Point(1, 0, 1)), S1Angle.degrees(45)).getRectBound(); in testRectBound() 148 .fromAxisAngle(new S2Point(0, 1, 0), S1Angle.radians(S2.M_PI_2 + 5e-16)).getRectBound(); in testRectBound() 154 rect = S2Cap.fromAxisAngle(getLatLngPoint(0, 50), S1Angle.degrees(20)).getRectBound(); in testRectBound() [all …]
|
D | S2EdgeIndexTest.java | 65 S2Cap edgeCap = S2Cap.fromAxisAngle( in randomEdgeCrossingCap() 79 S2Cap cap = S2Cap.fromAxisAngle( in generateRandomEarthEdges()
|
D | S2PolygonBuilderTest.java | 257 S2Cap cap = S2Cap.fromAxisAngle(axis, S1Angle.radians(maxPerturbation)); in getVertices()
|
D | S2LatLngRectTest.java | 203 .getCapBound().approxEquals(S2Cap.fromAxisAngle(new S2Point(0, 0, 1), S1Angle.degrees(2)))); in testBasic() 208 .approxEquals(S2Cap.fromAxisAngle(new S2Point(0, 0, -1), S1Angle.degrees(80)))); in testBasic()
|
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2LatLngRect.java | 527 S2Cap cap = S2Cap.fromAxisAngle(new S2Point(1, 0, 0), angle); in convolveWithCap() 607 S2Cap poleCap = S2Cap.fromAxisAngle(new S2Point(0, 0, poleZ), S1Angle in getCapBound() 617 S2Cap midCap = S2Cap.fromAxisAngle(getCenter().toPoint(), S1Angle in getCapBound()
|
D | S2Cap.java | 73 public static S2Cap fromAxisAngle(S2Point axis, S1Angle angle) { in fromAxisAngle() method in S2Cap
|