class STRtree extends SpatialIndex
Create a SpatialIndex using the STR Tree spatial index.
def index = new STRtree() index.insert(new Bounds(0,0,10,10), new Point(5,5)) index.insert(new Bounds(2,2,6,6), new Point(4,4)) def results = index.query(new Bounds(1,1,5,5))
| Constructor and description | 
|---|
                                STRtree()Create a SpatialIndex using the STR Tree spatial index.  | 
                        
| Methods inherited from class | Name | 
|---|---|
class SpatialIndex | 
                            createQuadtree, createSTRtree, getSize, insert, query |