Class NearestNeighbourIndex.Visitor

java.lang.Object
nz.org.riskscape.engine.geo.NearestNeighbourIndex.Visitor
All Implemented Interfaces:
org.locationtech.jts.index.kdtree.KdNodeVisitor
Enclosing class:
NearestNeighbourIndex

public static class NearestNeighbourIndex.Visitor extends Object implements org.locationtech.jts.index.kdtree.KdNodeVisitor
  • Field Details

    • lookFor

      public final org.locationtech.jts.geom.Coordinate lookFor
    • closest

      public org.locationtech.jts.index.kdtree.KdNode closest
    • lastDistance

      public double lastDistance
    • currentDistance

      public double currentDistance
    • visitCount

      public int visitCount
    • ignoreRadiusCompensation

      public boolean ignoreRadiusCompensation
  • Constructor Details

    • Visitor

      public Visitor(org.locationtech.jts.geom.Coordinate lookFor)
  • Method Details

    • visit

      public void visit(org.locationtech.jts.index.kdtree.KdNode node)
      Specified by:
      visit in interface org.locationtech.jts.index.kdtree.KdNodeVisitor