Package org.apache.lucene.spatial3d.geom
Class GeoBBoxFactory
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoBBoxFactory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoBBox
makeGeoBBox(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon)
Create a geobbox of the right kind given the specified bounds.static GeoBBox
makeGeoBBox(PlanetModel planetModel, LatLonBounds bounds)
Create a geobbox of the right kind given the specifiedLatLonBounds
.
-
-
-
Method Detail
-
makeGeoBBox
public static GeoBBox makeGeoBBox(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon)
Create a geobbox of the right kind given the specified bounds.- Parameters:
planetModel
- is the planet modeltopLat
- is the top latitudebottomLat
- is the bottom latitudeleftLon
- is the left longituderightLon
- is the right longitude- Returns:
- a GeoBBox corresponding to what was specified.
-
makeGeoBBox
public static GeoBBox makeGeoBBox(PlanetModel planetModel, LatLonBounds bounds)
Create a geobbox of the right kind given the specifiedLatLonBounds
.- Parameters:
planetModel
- is the planet modelbounds
- are the bounds- Returns:
- a GeoBBox corresponding to what was specified.
-
-