Package io.trino.geospatial
Class Rectangle
- java.lang.Object
-
- io.trino.geospatial.Rectangle
-
public final class Rectangle extends Object
-
-
Constructor Summary
Constructors Constructor Description Rectangle(double xMin, double yMin, double xMax, double yMax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intestimateMemorySize()doublegetHeight()doublegetWidth()doublegetXMax()doublegetXMin()doublegetYMax()doublegetYMin()inthashCode()Rectangleintersection(Rectangle other)booleanintersects(Rectangle other)Rectanglemerge(Rectangle other)StringtoString()
-
-
-
Method Detail
-
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)
-
estimateMemorySize
public int estimateMemorySize()
-
-