Class XYZSolidFactory

java.lang.Object
org.apache.lucene.spatial3d.geom.XYZSolidFactory

public class XYZSolidFactory extends Object
Factory for XYZSolid.
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • 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 model
      minX - is the min X boundary
      maxX - is the max X boundary
      minY - is the min Y boundary
      maxY - is the max Y boundary
      minZ - is the min Z boundary
      maxZ - is the max Z boundary
    • makeXYZSolid

      public static XYZSolid makeXYZSolid(PlanetModel planetModel, XYZBounds bounds)
      Create a XYZSolid of the right kind given (x,y,z) bounds.
      Parameters:
      planetModel - is the planet model
      bounds - is the XYZ bounds object.
      Returns:
      the solid.