library/src/main/java/de/westnordost/countryboundaries/CountryBoundaries.java
public Set<String> getIntersectingIds(
			double minLongitude, double minLatitude, double maxLongitude, double maxLatitude)
	{
		Set<String> ids = new HashSet<>();
		forCellsIn(minLongitude, minLatitude, maxLongitude, maxLatitude, cell ->
		{
			ids.addAll(cell.getAllIds());
		});
		return ids;
	}
public Set<String> getIntersectingIds(
			double minLongitude, double minLatitude, double maxLongitude, double maxLatitude)
	{
		Set<String> ids = new HashSet<>();
		forCellsIn(minLongitude, minLatitude, maxLongitude, maxLatitude, cell ->
		{
			ids.addAll(cell.getAllIds());
		});
		return ids;
	}
public Set < String > getIntersectingIds ( double minLongitude , double minLatitude , double maxLongitude , double maxLatitude ) { Set < String > ids = new HashSet <> ( ) ; forCellsIn ( minLongitude , minLatitude , maxLongitude , maxLatitude , cell -> { ids . addAll ( cell . getAllIds ( ) ) ; } ) ; return ids ; }
Identify which countries intersect with the given bounding box. The given bounding box may
wrap around the 180th longitude, i.e minLongitude = 170 and maxLongitude = -170.

@param minLongitude minimum longitude of geo position (-180...180)
@param minLatitude minimum latitude of geo position (-90...90)
@param maxLongitude maximum longitude of geo position (-180...180)
@param maxLatitude maximum latitude of geo position (-90...90)

@return the ids of the countries the given bounding box intersects with, not in any
particular order
Identify which countries intersect with the given bounding box . The given bounding box may wrap around the 180th longitude i . e minLongitude = 170 and maxLongitude = - 170 .