Class GeoAreaFactory


  • public class GeoAreaFactory
    extends java.lang.Object
    Factory for GeoArea.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private GeoAreaFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GeoArea makeGeoArea​(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon)
      Create a GeoArea of the right kind given the specified bounds.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoAreaFactory

        private GeoAreaFactory()
    • 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 model
        topLat - is the top latitude
        bottomLat - is the bottom latitude
        leftLon - is the left longitude
        rightLon - 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 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