Class SpatialIndexFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.SpatialIndexFunctions
-
public class SpatialIndexFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SpatialIndexFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
addBounds(Boundable bnd, java.util.List bounds, GeometryFactory factory)
private static KdTree
buildKdTree(Geometry geom, double tolerance)
private static Quadtree
buildQuadtree(Geometry geom)
private static STRtree
buildSTRtree(Geometry geom)
static Geometry
kdTreeQuery(Geometry pts, Geometry queryEnv, double tolerance)
static Geometry
kdTreeQueryRepeated(Geometry pts, Geometry queryEnv, double tolerance)
static Geometry
quadTreeQuery(Geometry geoms, Geometry queryEnv)
static Geometry
strTreeBounds(Geometry geoms)
static Geometry
strTreeNN(Geometry geoms, Geometry geom)
static Geometry
strTreeNNk(Geometry geoms, Geometry geom, int k)
static Geometry
strTreeQuery(Geometry geoms, Geometry queryEnv)
-
-
-
Method Detail
-
kdTreeQueryRepeated
public static Geometry kdTreeQueryRepeated(Geometry pts, Geometry queryEnv, double tolerance)
-
addBounds
private static void addBounds(Boundable bnd, java.util.List bounds, GeometryFactory factory)
-
-