Uses of Interface
org.locationtech.jts.index.strtree.ItemDistance
-
Packages that use ItemDistance Package Description org.locationtech.jts.index.strtree Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree. -
-
Uses of ItemDistance in org.locationtech.jts.index.strtree
Classes in org.locationtech.jts.index.strtree that implement ItemDistance Modifier and Type Class Description class
GeometryItemDistance
AnItemDistance
function for items which areGeometry
s, using theGeometry.distance(Geometry)
method.Methods in org.locationtech.jts.index.strtree with parameters of type ItemDistance Modifier and Type Method Description boolean
STRtree. isWithinDistance(STRtree tree, ItemDistance itemDist, double maxDistance)
Tests whether some two items from this tree and another tree lie within a given distance.java.lang.Object
STRtree. nearestNeighbour(Envelope env, java.lang.Object item, ItemDistance itemDist)
Finds the item in this tree which is nearest to the givenObject
, usingItemDistance
as the distance metric.java.lang.Object[]
STRtree. nearestNeighbour(Envelope env, java.lang.Object item, ItemDistance itemDist, int k)
Finds up to k items in this tree which are the nearest neighbors to the givenitem
, usingitemDist
as the distance metric.java.lang.Object[]
STRtree. nearestNeighbour(ItemDistance itemDist)
Finds the two nearest items in the tree, usingItemDistance
as the distance metric.java.lang.Object[]
STRtree. nearestNeighbour(STRtree tree, ItemDistance itemDist)
Finds the two nearest items from this tree and another tree, usingItemDistance
as the distance metric.
-