| Modifier and Type | Method and Description |
|---|---|
Rectangle |
add(Rectangle r) |
double |
area() |
boolean |
contains(double x,
double y) |
static PointFloat |
create(float x,
float 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() |
float |
xFloat() |
double |
y() |
double |
y1() |
double |
y2() |
float |
yFloat() |
public static PointFloat create(float x, float 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 Rectanglepublic float xFloat()
public float yFloat()
Copyright © 2013–2023. All rights reserved.