| Modifier and Type | Method and Description |
|---|---|
static LineFloat |
create(double x1,
double y1,
double x2,
double y2) |
double |
distance(Rectangle r)
Returns the distance to the given
Rectangle. |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
intersects(Circle circle) |
boolean |
intersects(Line b) |
boolean |
intersects(Point point) |
boolean |
intersects(Rectangle r) |
boolean |
isDoublePrecision() |
Rectangle |
mbr()
Returns the minimum bounding rectangle of this geometry.
|
double |
x1() |
double |
x2() |
double |
y1() |
double |
y2() |
public static LineFloat create(double x1, double y1, double x2, double y2)
public Rectangle mbr()
Geometrypublic boolean intersects(Rectangle r)
intersects in interface Geometrypublic boolean intersects(Line b)
intersects in interface Linepublic boolean intersects(Point point)
intersects in interface Linepublic boolean intersects(Circle circle)
intersects in interface Linepublic boolean isDoublePrecision()
isDoublePrecision in interface GeometryCopyright © 2013–2024. All rights reserved.