Package nz.org.riskscape.engine.geo
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 Summary
Modifier and TypeFieldDescriptionorg.locationtech.jts.index.kdtree.KdNode
double
boolean
double
final org.locationtech.jts.geom.Coordinate
int
-
Constructor Summary
-
Method Summary
-
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 interfaceorg.locationtech.jts.index.kdtree.KdNodeVisitor
-