Class RTree.Rectangle
java.lang.Object
com.apple.foundationdb.async.rtree.RTree.Rectangle
- Enclosing class:
- RTree
Class to capture an N-dimensional rectangle/cube/hypercube. It wraps a
Tuple
mostly due to proximity
with its serialization format and provides helpers for Euclidean operations. Note that the coordinates used here
do not need to be numbers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarea()
boolean
contains
(RTree.Point point) boolean
static RTree.Rectangle
fromPoint
(RTree.Point point) getHigh
(int dimension) getLow
(int dimension) int
int
hashCode()
boolean
isOverlapping
(RTree.Rectangle other) toString()
unionWith
(RTree.Point point) unionWith
(RTree.Rectangle other)
-
Constructor Details
-
Rectangle
-
-
Method Details