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