Package org.apache.lucene.spatial3d.geom
Class XYZSolidFactory
java.lang.Object
org.apache.lucene.spatial3d.geom.XYZSolidFactory
Factory for
XYZSolid
.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Method Summary
Modifier and TypeMethodDescriptionstatic XYZSolid
makeXYZSolid
(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ) Create a XYZSolid of the right kind given (x,y,z) bounds.static XYZSolid
makeXYZSolid
(PlanetModel planetModel, XYZBounds bounds) Create a XYZSolid of the right kind given (x,y,z) bounds.
-
Method Details
-
makeXYZSolid
public static XYZSolid makeXYZSolid(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ) Create a XYZSolid 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
-
makeXYZSolid
Create a XYZSolid of the right kind given (x,y,z) bounds.- Parameters:
planetModel
- is the planet modelbounds
- is the XYZ bounds object.- Returns:
- the solid.
-