| Modifier and Type | Method and Description |
|---|---|
Rectangle |
add(Rectangle r) |
double |
area() |
boolean |
contains(double x,
double y) |
static PointDouble |
create(double x,
double y) |
double |
distance(Rectangle r)
Returns the distance to the given
Rectangle. |
boolean |
equals(Object obj) |
Geometry |
geometry() |
int |
hashCode() |
double |
intersectionArea(Rectangle r) |
boolean |
intersects(Rectangle r) |
boolean |
isDoublePrecision() |
Rectangle |
mbr()
Returns the minimum bounding rectangle of this geometry.
|
double |
perimeter() |
String |
toString() |
double |
x() |
double |
x1() |
double |
x2() |
double |
y() |
double |
y1() |
double |
y2() |
public static PointDouble create(double x, double y)
public Rectangle mbr()
Geometrypublic boolean intersects(Rectangle r)
intersects in interface Geometrypublic Geometry geometry()
geometry in interface HasGeometrypublic double intersectionArea(Rectangle r)
intersectionArea in interface Rectanglepublic boolean isDoublePrecision()
isDoublePrecision in interface GeometryisDoublePrecision in interface RectangleCopyright © 2013–2023. All rights reserved.