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()booleancontains(RTree.Point point) booleanstatic RTree.RectanglefromPoint(RTree.Point point) getHigh(int dimension) getLow(int dimension) intinthashCode()booleanisOverlapping(RTree.Rectangle other) toString()unionWith(RTree.Point point) unionWith(RTree.Rectangle other)
-
Constructor Details
-
Rectangle
-
-
Method Details