Class GeographicSelection

    • Constructor Detail

      • GeographicSelection

        public GeographicSelection(Longitude x1,
                                   Longitude x2,
                                   Latitude y1,
                                   Latitude y2)
        Create a new geographic selection from the given coordinates.
        Parameters:
        x1 - the first longitude
        x2 - the second longitude
        y1 - the first latitude
        y2 - the seconds latitude.
      • GeographicSelection

        public GeographicSelection(double x1,
                                   double x2,
                                   double y1,
                                   double y2)
        Create a new geographic selection from the given coordinates.
        Parameters:
        x1 - the first longitude
        x2 - the second longitude
        y1 - the first latitude
        y2 - the seconds latitude.
    • Method Detail

      • toBoundingBox

        public BBox toBoundingBox()
        Returns:
        a bounding box equivalent to this selection.