| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
package org.locationtech.jts.index.strtree; |
| 14 |
|
| 15 |
/** |
| 16 |
* A spatial object in an AbstractSTRtree. |
| 17 |
* |
| 18 |
* @version 1.7 |
| 19 |
*/ |
| 20 |
public interface Boundable { |
| 21 |
/** |
| 22 |
* Returns a representation of space that encloses this Boundable, preferably |
| 23 |
* not much bigger than this Boundable's boundary yet fast to test for intersection |
| 24 |
* with the bounds of other Boundables. The class of object returned depends |
| 25 |
* on the subclass of AbstractSTRtree. |
| 26 |
* @return an Envelope (for STRtrees), an Interval (for SIRtrees), or other object |
| 27 |
* (for other subclasses of AbstractSTRtree) |
| 28 |
*/ |
| 29 |
Object getBounds(); |
| 30 |
} |
| 31 |
|