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()
Geometry
public boolean intersects(Rectangle r)
intersects
in interface Geometry
public boolean intersects(Line b)
intersects
in interface Line
public boolean intersects(Point point)
intersects
in interface Line
public boolean intersects(Circle circle)
intersects
in interface Line
public boolean isDoublePrecision()
isDoublePrecision
in interface Geometry
Copyright © 2013–2024. All rights reserved.