com.supermap.services.protocols.wcs

Class BoundingBox

  • java.lang.Object
    • com.supermap.services.protocols.wcs.BoundingBox


  • public class BoundingBox
    extends java.lang.Object
    

    The bounding box of the coverage, used to describe the spatial extent of the coverage.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String crs
      The coordinate system of the bounding box.
      int dimensions
      Coordinate The dimensions of the reference system.
      Point2D lowerCorner
      The lower left corner defines the edge along the direction of the coordinate value, that is, the edge with the smallest coordinate value.
      Point2D upperCorner
      The upper right corner defines the edge along the direction of the coordinate value, that is, the edge with the largest coordinate value.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BoundingBox()
      The Constructor.
      BoundingBox(BoundingBox boundingBox)
      The Constructor.
      BoundingBox(double left, double bottom, double right, double top)
      The Constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Determines whether the specified BoundingBox object and the current BoundingBox object are equal.
      int hashCode()
      Return hash code.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lowerCorner

        public Point2D lowerCorner
        
        The lower left corner defines the edge along the direction of the coordinate value, that is, the edge with the smallest coordinate value.
      • upperCorner

        public Point2D upperCorner
        
        The upper right corner defines the edge along the direction of the coordinate value, that is, the edge with the largest coordinate value.
      • crs

        public java.lang.String crs
        
        The coordinate system of the bounding box.
      • dimensions

        public int dimensions
        
        Coordinate The dimensions of the reference system.
    • Constructor Detail

      • BoundingBox

        public BoundingBox()
        

        The Constructor.

      • BoundingBox

        public BoundingBox(double left,
                   double bottom,
                   double right,
                   double top)
        

        The Constructor.

        Parameters:
        left - The left side of the bounding box, the minimum value in the X axis direction.
        bottom - The lower edge of the left border of the bounding box, the minimum value in the Y axis direction.
        right - The right side of the left side of the bounding box, the maximum value in the X axis direction.
        top - The top value of the left border of the bounding box, that is, the maximum value in the Y axis direction.
      • BoundingBox

        public BoundingBox(BoundingBox boundingBox)
        

        The Constructor.

        Parameters:
        boundingBox - bounding box.
    • Method Detail

      • equals

        public boolean equals(java.lang.Object obj)
        

        Determines whether the specified BoundingBox object and the current BoundingBox object are equal.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the object that is compared with the current object.
        Returns:
        Returns true if both objects are equal; false otherwise.
      • hashCode

        public int hashCode()
        

        Return hash code.

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash code.