Class Envelope

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class Envelope
    extends AbstractGeometry
    Envelope, a bounding box spanned by an upper right and lower left corner point. Note that if the box spans the -180 180 degree meridian the numerical value of the minLongitude may be greater than the maxLongitude.
    See Also:
    Serialized Form
    • Field Detail

      • minLatitude

        protected double minLatitude
      • minLongitude

        protected double minLongitude
      • maxLatitude

        protected double maxLatitude
      • maxLongitude

        protected double maxLongitude
    • Constructor Detail

      • Envelope

        public Envelope()
      • Envelope

        public Envelope​(double minLatitude,
                        double minLongitude,
                        double maxLatitude,
                        double maxLongitude)
        Construct object from coordinate values
    • Method Detail

      • getMinLongitude

        public double getMinLongitude()
        Returns:
        the minimum longitude
      • getMinLatitude

        public double getMinLatitude()
        Returns:
        the minimum latitude
      • getMaxLongitude

        public double getMaxLongitude()
        Returns:
        the maximum longitude
      • getMaxLatitude

        public double getMaxLatitude()
        Returns:
        the maximum latitude
      • setMinLongitude

        public void setMinLongitude​(double v)
        Parameters:
        v - minimum longitude
      • setMinLatitude

        public void setMinLatitude​(double v)
        Parameters:
        v - minimum latitude
      • setMaxLongitude

        public void setMaxLongitude​(double v)
        Parameters:
        v - maximum longitude
      • setMaxLatitude

        public void setMaxLatitude​(double v)
        Parameters:
        v - maximum latitude