Interface NearestNeighborSearch<T>

    • Method Detail

      • search

        void search​(RealLocalizable reference)
        Perform nearest-neighbor search for a reference coordinate.
        Parameters:
        reference -
      • getSampler

        Sampler<T> getSampler()
        Access the data of the nearest neighbor. Data is accessed through a Sampler that guarantees write access if the underlying data set is writable.
      • getPosition

        RealLocalizable getPosition()
        Access the position of the nearest neighbor, ordered by square Euclidean distance.
      • getSquareDistance

        double getSquareDistance()
        Access the square Euclidean distance between the reference location as used for the last search and the nearest neighbor, ordered by square Euclidean distance.
      • getDistance

        double getDistance()
        Access the Euclidean distance between the reference location as used for the last search and the nearest neighbor, ordered by square Euclidean distance.