| Modifier and Type | Method and Description |
|---|---|
Rectangle |
add(Rectangle r) |
boolean |
contains(double... p) |
static PointDouble |
create(double[] x) |
int |
dimensions() |
double |
distance(Rectangle r)
Returns the distance to the given
Rectangle. |
boolean |
equals(Object obj) |
Geometry |
geometry() |
int |
hashCode() |
double |
intersectionVolume(Rectangle r) |
boolean |
intersects(Rectangle r) |
Rectangle |
mbr()
Returns the minimum bounding rectangle of this geometry.
|
double[] |
mins() |
double |
surfaceArea() |
String |
toString() |
double |
volume() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreate, maxes, valuescreate, createOrdered, max, minpublic static PointDouble create(double[] x)
public Rectangle mbr()
Geometrypublic boolean intersects(Rectangle r)
intersects in interface Geometrypublic double[] mins()
public Geometry geometry()
geometry in interface HasGeometrypublic double intersectionVolume(Rectangle r)
intersectionVolume in interface Rectanglepublic double surfaceArea()
surfaceArea in interface Rectanglepublic int dimensions()
dimensions in interface GeometryCopyright © 2013–2022. All rights reserved.