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.org.locationtech.jts.operation.distance Provides classes for computing the distance between geometriesorg.locationtech.jts.precision Provides classes for analyzing and manipulating the precision of Geometries. -
-
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
An ItemDistance function for items which areGeometry
s, using theGeometry.distance(Geometry)
method.Fields in org.locationtech.jts.index.strtree declared as ItemDistance Modifier and Type Field Description private ItemDistance
BoundablePair. itemDistance
Methods in org.locationtech.jts.index.strtree with parameters of type ItemDistance Modifier and Type Method Description 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 k items in this tree which are the top k 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.Constructors in org.locationtech.jts.index.strtree with parameters of type ItemDistance Constructor Description BoundablePair(Boundable boundable1, Boundable boundable2, ItemDistance itemDistance)
-
Uses of ItemDistance in org.locationtech.jts.operation.distance
Classes in org.locationtech.jts.operation.distance that implement ItemDistance Modifier and Type Class Description private static class
IndexedFacetDistance.FacetSequenceDistance
Tests whether the base geometry lies within a specified distance of the given geometry. -
Uses of ItemDistance in org.locationtech.jts.precision
Classes in org.locationtech.jts.precision that implement ItemDistance Modifier and Type Class Description private static class
MinimumClearance.MinClearanceDistance
Implements the MinimumClearance distance function: dist(p1, p2) = p1 != p2 : p1.distance(p2) p1 == p2 : Double.MAX dist(p, seg) = p != seq.p1 && p != seg.p2 : seg.distance(p) ELSE : Double.MAX Also computes the values of the nearest points, if any.
-