Package | Description |
---|---|
com.vividsolutions.jts.index.strtree |
Modifier and Type | Class and Description |
---|---|
class |
GeometryItemDistance
An ItemDistance function for
items which are
Geometry s,
using the Geometry.distance(Geometry) method. |
Modifier and Type | Method and Description |
---|---|
Object |
STRtree.nearestNeighbour(Envelope env,
Object item,
ItemDistance itemDist)
Finds the item in this tree which is nearest to the given
Object ,
using ItemDistance as the distance metric. |
Object[] |
STRtree.nearestNeighbour(ItemDistance itemDist)
Finds the two nearest items in the tree,
using
ItemDistance as the distance metric. |
Object[] |
STRtree.nearestNeighbour(STRtree tree,
ItemDistance itemDist)
Finds the two nearest items from this tree
and another tree,
using
ItemDistance as the distance metric. |
Copyright © 2016. All rights reserved.