Package org.apache.lucene.spatial3d.geom
Class GeoAreaFactory
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoAreaFactory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoAreamakeGeoArea(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon)Create a GeoArea of the right kind given the specified bounds.static GeoAreamakeGeoArea(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ)Create a GeoArea of the right kind given (x,y,z) bounds.
-
-
-
Method Detail
-
makeGeoArea
public static GeoArea makeGeoArea(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon)
Create a GeoArea 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 GeoArea corresponding to what was specified.
-
makeGeoArea
public static GeoArea makeGeoArea(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
Create a GeoArea of the right kind given (x,y,z) bounds.- Parameters:
planetModel- is the planet modelminX- is the min X boundarymaxX- is the max X boundaryminY- is the min Y boundarymaxY- is the max Y boundaryminZ- is the min Z boundarymaxZ- is the max Z boundary
-
-