Class KdTree.BestMatchVisitor

java.lang.Object
org.locationtech.jts.index.kdtree.KdTree.BestMatchVisitor
All Implemented Interfaces:
KdNodeVisitor
Enclosing class:
KdTree

private static class KdTree.BestMatchVisitor extends Object implements KdNodeVisitor
  • Field Details

    • tolerance

      private double tolerance
    • matchNode

      private KdNode matchNode
    • matchDist

      private double matchDist
    • p

      private Coordinate p
  • Constructor Details

    • BestMatchVisitor

      public BestMatchVisitor(Coordinate p, double tolerance)
  • Method Details

    • queryEnvelope

      public Envelope queryEnvelope()
    • getNode

      public KdNode getNode()
    • visit

      public void visit(KdNode node)
      Description copied from interface: KdNodeVisitor
      Visits a node.
      Specified by:
      visit in interface KdNodeVisitor
      Parameters:
      node - the node to visit