java.lang.Object
org.apache.lucene.spatial3d.geom.XYZSolidFactory
Factory for
XYZSolid.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XYZSolidmakeXYZSolid(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 XYZSolidmakeXYZSolid(PlanetModel planetModel, XYZBounds bounds) Create a XYZSolid of the right kind given (x,y,z) bounds.
-
Constructor Details
-
XYZSolidFactory
private XYZSolidFactory()
-
-
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.
-