Searched refs:getRectBound (Results 1 – 13 of 13) sorted by relevance
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2Loop.java | 114 this(cell, cell.getRectBound()); in S2Loop() 147 this.bound = src.getRectBound(); in S2Loop() 405 if (!bound.contains(b.getRectBound())) { in contains() 426 if (bound.union(b.getRectBound()).isFull()) { in contains() 443 if (!bound.intersects(b.getRectBound())) { in intersects() 450 if (b.getRectBound().lng().getLength() > bound.lng().getLength()) { in intersects() 473 if (b.getRectBound().contains(bound)) { in intersects() 488 if (!bound.contains(b.getRectBound())) { in containsNested() 514 if (!bound.intersects(b.getRectBound())) { in containsOrCrosses() 537 if (!bound.contains(b.getRectBound())) { in containsOrCrosses() [all …]
|
D | S2Polygon.java | 93 this.bound = loop.getRectBound(); in S2Polygon() 105 this.bound = src.getRectBound(); in S2Polygon() 183 bound = bound.union(loop(i).getRectBound()); in init() 374 if (!bound.contains(b.getRectBound())) { in contains() 378 if (!bound.lng().union(b.getRectBound().lng()).isFull()) { in contains() 421 if (!bound.intersects(b.getRectBound())) { in intersects() 866 public S2LatLngRect getRectBound() { in getRectBound() method in S2Polygon 880 S2LatLngRect cellBound = cell.getRectBound(); in contains() 900 S2LatLngRect cellBound = cell.getRectBound(); in mayIntersect()
|
D | S2Region.java | 36 public abstract S2LatLngRect getRectBound(); in getRectBound() method
|
D | S2LatLngRect.java | 400 if (!intersects(cell.getRectBound())) { in intersects() 533 r = r.union(vertexCap.getRectBound()); in convolveWithCap() 631 public S2LatLngRect getRectBound() { in getRectBound() method in S2LatLngRect 639 return contains(cell.getRectBound()); in contains() 652 return intersects(cell.getRectBound()); in mayIntersect()
|
D | S2Polyline.java | 147 return getRectBound().getCapBound(); in getCapBound() 153 public S2LatLngRect getRectBound() { in getRectBound() method in S2Polyline
|
D | S2CellUnion.java | 445 public S2LatLngRect getRectBound() { in getRectBound() method in S2CellUnion 448 bound = bound.union(new S2Cell(id).getRectBound()); in getRectBound()
|
D | S2Cap.java | 243 public S2LatLngRect getRectBound() { in getRectBound() method in S2Cap
|
D | S2Cell.java | 304 public S2LatLngRect getRectBound() { in getRectBound() method in S2Cell
|
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CapTest.java | 119 assertTrue(S2Cap.empty().getRectBound().isEmpty()); in testRectBound() 120 assertTrue(S2Cap.full().getRectBound().isFull()); in testRectBound() 128 S2Cap.fromAxisAngle(getLatLngPoint(-45, 57), S1Angle.degrees(50)).getRectBound(); in testRectBound() 135 .getRectBound(); 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() 161 rect = S2Cap.fromAxisAngle(getLatLngPoint(90, 123), S1Angle.degrees(10)).getRectBound(); in testRectBound()
|
D | S2LoopTest.java | 102 assertTrue(candyCane.getRectBound().lng().isFull()); in testBounds() 103 assertTrue(candyCane.getRectBound().latLo().degrees() < -20); in testBounds() 104 assertTrue(candyCane.getRectBound().latHi().degrees() > 10); in testBounds() 105 assertTrue(smallNeCw.getRectBound().isFull()); in testBounds() 106 assertEquals(arctic80.getRectBound(), in testBounds() 108 assertEquals(antarctic80.getRectBound(), in testBounds() 114 assertDoubleNear(arctic80.getRectBound().latHi().radians(), new S2LatLng(mid).lat().radians()); in testBounds() 117 assertTrue(southHemi.getRectBound().lng().isFull()); in testBounds() 118 assertEquals(southHemi.getRectBound().lat(), new R1Interval(-S2.M_PI_2, 0)); in testBounds()
|
D | S2CellTest.java | 211 S2LatLngRect parentRect = cell.getRectBound(); in testSubdivide() 217 S2LatLngRect childRect = children[i].getRectBound(); in testSubdivide() 233 cell.getRectBound(); in testSubdivide() 242 cell.getRectBound(); in testSubdivide()
|
D | S2PolylineTest.java | 39 assertEquals(empty.getRectBound(), S2LatLngRect.empty()); in testBasic()
|
D | S2LatLngRectTest.java | 241 S2LatLngRect bound0tr = cell0tr.getRectBound(); in testBasic() 255 S2LatLngRect bound202 = cell202.getRectBound(); in testBasic()
|