Uses of Interface
org.locationtech.jts.index.strtree.ItemDistance
Packages that use ItemDistance
Package
Description
Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree.
Provides classes for computing the distance between geometries
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 ItemDistanceModifier and TypeClassDescriptionclassAn ItemDistance function for items which areGeometrys, using theGeometry.distance(Geometry)method.Fields in org.locationtech.jts.index.strtree declared as ItemDistanceMethods in org.locationtech.jts.index.strtree with parameters of type ItemDistanceModifier and TypeMethodDescriptionSTRtree.nearestNeighbour(Envelope env, Object item, ItemDistance itemDist) Finds the item in this tree which is nearest to the givenObject, usingItemDistanceas the distance metric.Object[]STRtree.nearestNeighbour(Envelope env, Object item, ItemDistance itemDist, int k) Finds k items in this tree which are the top k nearest neighbors to the givenitem, usingitemDistas the distance metric.Object[]STRtree.nearestNeighbour(ItemDistance itemDist) Finds the two nearest items in the tree, usingItemDistanceas the distance metric.Object[]STRtree.nearestNeighbour(STRtree tree, ItemDistance itemDist) Finds the two nearest items from this tree and another tree, usingItemDistanceas the distance metric.Constructors in org.locationtech.jts.index.strtree with parameters of type ItemDistanceModifierConstructorDescriptionBoundablePair(Boundable boundable1, Boundable boundable2, ItemDistance itemDistance) -
Uses of ItemDistance in org.locationtech.jts.operation.distance
Classes in org.locationtech.jts.operation.distance that implement ItemDistanceModifier and TypeClassDescriptionprivate static classTests 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 ItemDistanceModifier and TypeClassDescriptionprivate static classImplements the MinimumClearance distance function: dist(p1, p2) = p1 != p2 : p1.distance(p2) p1 == p2 : Double.MAX dist(p, seg) = p != seq.p1 invalid input: '&'invalid input: '&' p != seg.p2 : seg.distance(p) ELSE : Double.MAX Also computes the values of the nearest points, if any.