Class Rectangle

java.lang.Object
io.trino.geospatial.Rectangle

public final class Rectangle extends Object
  • Constructor Details

    • Rectangle

      public Rectangle(double xMin, double yMin, double xMax, double yMax)
  • Method Details

    • getXMin

      public double getXMin()
    • getYMin

      public double getYMin()
    • getXMax

      public double getXMax()
    • getYMax

      public double getYMax()
    • getWidth

      public double getWidth()
    • getHeight

      public double getHeight()
    • intersects

      public boolean intersects(Rectangle other)
    • intersection

      public Rectangle intersection(Rectangle other)
    • merge

      public Rectangle merge(Rectangle other)
    • estimateMemorySize

      public int estimateMemorySize()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object