Class ESRIBounds

    • Constructor Detail

      • ESRIBounds

        public ESRIBounds()
        Constructor.
      • ESRIBounds

        public ESRIBounds​(ESRIPoint point)
        Constructor.
        Parameters:
        point - the point to copy.
      • ESRIBounds

        public ESRIBounds​(double minx,
                          double maxx,
                          double miny,
                          double maxy)
        Constructor.
        Parameters:
        minx - the min x.
        maxx - the max x.
        miny - the min y.
        maxy - the max y.
      • ESRIBounds

        public ESRIBounds​(double minx,
                          double maxx,
                          double miny,
                          double maxy,
                          double minz,
                          double maxz,
                          double minm,
                          double maxm)
        Constructor.
        Parameters:
        minx - the min x.
        maxx - the max x.
        miny - the min y.
        maxy - the max y.
        minz - the min z.
        maxz - the max z.
        minm - the min m.
        maxm - the max m.
      • ESRIBounds

        public ESRIBounds​(ESRIBounds bounds)
        Constructor.
        Parameters:
        bounds - the bounds to copy.
    • Method Detail

      • createUnion

        public ESRIBounds createUnion​(ESRIBounds bounds)
        Create and replies an union of this bounds and the given bounds.
        Parameters:
        bounds - the bounds to make the union from.
        Returns:
        the union of this bounds and the given one.
      • add

        public void add​(ESRIPoint point)
        Add a point to this bounds.
        Parameters:
        point - the point to add.
      • equals

        @Pure
        public boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        @Pure
        public int hashCode()
        Overrides:
        hashCode in class Object
      • getMinX

        @Pure
        public double getMinX()
        Replies the min x.
        Returns:
        the min x.
      • getCenterX

        @Pure
        public double getCenterX()
        Replies the center x.
        Returns:
        the center x.
      • getMaxX

        @Pure
        public double getMaxX()
        Replies the max x.
        Returns:
        the max x.
      • getCenterY

        @Pure
        public double getCenterY()
        Replies the center y.
        Returns:
        the center y.
      • getMinY

        @Pure
        public double getMinY()
        Replies the min y.
        Returns:
        the min y.
      • getMaxY

        @Pure
        public double getMaxY()
        Replies the max y.
        Returns:
        the max y.
      • getMinZ

        @Pure
        public double getMinZ()
        Replies the min z.
        Returns:
        the min z.
      • getCenterZ

        @Pure
        public double getCenterZ()
        Replies the center z.
        Returns:
        the center z.
      • getMaxZ

        @Pure
        public double getMaxZ()
        Replies the max z.
        Returns:
        the max z.
      • getMinM

        @Pure
        public double getMinM()
        Replies the min m.
        Returns:
        the min m.
      • getCenterM

        @Pure
        public double getCenterM()
        Replies the center m.
        Returns:
        the center m.
      • getMaxM

        @Pure
        public double getMaxM()
        Replies the max m.
        Returns:
        the max m.
      • toRectangle2d

        @Pure
        public Rectangle2d toRectangle2d()
        Replies the 2D bounds.
        Returns:
        the 2D bounds
      • ensureMinMax

        public void ensureMinMax()
        Ensure that min and max values are correctly ordered.