Class QueryRTree
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.utils.geometry.QueryRTree
-
- All Implemented Interfaces:
QueryGeometryStructure
public class QueryRTree extends Object implements QueryGeometryStructure
Connector for RTree.- Author:
- Nicolas Fortin
-
-
Constructor Summary
Constructors Constructor Description QueryRTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendGeometry(org.locationtech.jts.geom.Geometry newGeom, Integer externalId)
Add a given geometry and its Id into the treeIterator<Integer>
query(org.locationtech.jts.geom.Envelope queryEnv)
-
-
-
Method Detail
-
appendGeometry
public void appendGeometry(org.locationtech.jts.geom.Geometry newGeom, Integer externalId)
Add a given geometry and its Id into the tree- Specified by:
appendGeometry
in interfaceQueryGeometryStructure
- Parameters:
newGeom
-externalId
-
-
query
public Iterator<Integer> query(org.locationtech.jts.geom.Envelope queryEnv)
- Specified by:
query
in interfaceQueryGeometryStructure
- Parameters:
queryEnv
-- Returns:
-
-