org.locationtech.geomesa.process.query.KNearestNeighborSearchProcess
point to find neighbors for
number of neighbors to find
limit results to within a certain distance in meters
array of length k, used to hold results
number of features found so far, maxes out at k
Number of features found so far
Visit a feature with a known distance
Visit a feature with a known distance
feature
distance from the query point, in meters (assumed to be within the threshold)
Visit a feature, checking the distance to the query point
Visit a feature, checking the distance to the query point
feature
None if the feature is within the threshold, otherwise Some(distance to query point)
Calculator for finding the k-nearest features