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 Details

    • QueryRTree

      public QueryRTree()
  • Method Details

    • 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 interface QueryGeometryStructure
      Parameters:
      newGeom -
      externalId -
    • query

      public Iterator<Integer> query(org.locationtech.jts.geom.Envelope queryEnv)
      Specified by:
      query in interface QueryGeometryStructure
      Parameters:
      queryEnv -
      Returns: