| Modifier | Constructor and Description |
|---|---|
protected |
Point(float x,
float y) |
| Modifier and Type | Method and Description |
|---|---|
static Point |
create(double x,
double y) |
double |
distance(Point p) |
double |
distance(Rectangle r)
Returns the distance to the given
Rectangle. |
double |
distanceSquared(Point p) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
intersects(Rectangle r) |
Rectangle |
mbr()
Returns the minimum bounding rectangle of this geometry.
|
String |
toString() |
float |
x() |
float |
y() |
public static Point create(double x, double y)
public Rectangle mbr()
Geometrypublic double distance(Point p)
public double distanceSquared(Point p)
public boolean intersects(Rectangle r)
intersects in interface Geometrypublic float x()
public float y()
Copyright © 2013–2015. All rights reserved.