@Test public void getLatitudeSpanTest() { BoundingBox boundingBox = new BoundingBox(MIN_LATITUDE, MIN_LONGITUDE, MAX_LATITUDE, MAX_LONGITUDE); Assert.assertEquals(MAX_LATITUDE - MIN_LATITUDE, boundingBox.getLatitudeSpan(), 0); }
public double getLatitudeSpan() { return this.maxLatitude - this.minLatitude; }
BoundingBox implements Serializable { public double getLatitudeSpan() { return this.maxLatitude - this.minLatitude; } }
BoundingBox implements Serializable { public double getLatitudeSpan() { return this.maxLatitude - this.minLatitude; } BoundingBox(double minLatitude, double minLongitude, double maxLatitude, double maxLongitude);  BoundingBox(List<LatLong> latLongs); }
BoundingBox implements Serializable { public double getLatitudeSpan() { return this.maxLatitude - this.minLatitude; } BoundingBox(double minLatitude, double minLongitude, double maxLatitude, double maxLongitude);  BoundingBox(List<LatLong> latLongs); static BoundingBox fromString(String boundingBoxString); boolean contains(double latitude, double longitude); boolean contains(LatLong latLong); @Override boolean equals(Object obj); BoundingBox extendBoundingBox(BoundingBox boundingBox); BoundingBox extendCoordinates(double latitude, double longitude); BoundingBox extendCoordinates(LatLong latLong); BoundingBox extendDegrees(double verticalExpansion, double horizontalExpansion); BoundingBox extendMargin(float margin); BoundingBox extendMeters(int meters); LatLong getCenterPoint(); double getLatitudeSpan(); double getLongitudeSpan(); Rectangle getPositionRelativeToTile(Tile tile); @Override int hashCode(); boolean intersects(BoundingBox boundingBox); boolean intersectsArea(LatLong[][] latLongs); @Override String toString(); }
BoundingBox implements Serializable { public double getLatitudeSpan() { return this.maxLatitude - this.minLatitude; } BoundingBox(double minLatitude, double minLongitude, double maxLatitude, double maxLongitude);  BoundingBox(List<LatLong> latLongs); static BoundingBox fromString(String boundingBoxString); boolean contains(double latitude, double longitude); boolean contains(LatLong latLong); @Override boolean equals(Object obj); BoundingBox extendBoundingBox(BoundingBox boundingBox); BoundingBox extendCoordinates(double latitude, double longitude); BoundingBox extendCoordinates(LatLong latLong); BoundingBox extendDegrees(double verticalExpansion, double horizontalExpansion); BoundingBox extendMargin(float margin); BoundingBox extendMeters(int meters); LatLong getCenterPoint(); double getLatitudeSpan(); double getLongitudeSpan(); Rectangle getPositionRelativeToTile(Tile tile); @Override int hashCode(); boolean intersects(BoundingBox boundingBox); boolean intersectsArea(LatLong[][] latLongs); @Override String toString(); final double maxLatitude; final double maxLongitude; final double minLatitude; final double minLongitude; }