AnnWrapperNET.AnnWrapper.AnnkFRSearch C# (CSharp) Method

AnnkFRSearch() public static method

public static AnnkFRSearch ( double point, double squareRadius, int nearNeighbourCount, int &indexes, double &distances, double eps = 0.0 ) : void
point double
squareRadius double
nearNeighbourCount int
indexes int
distances double
eps double
return void
        public static void AnnkFRSearch(double[] point, double squareRadius, int nearNeighbourCount, out int[] indexes, out double[] distances, double eps = 0.0)
        {
            indexes = new int[nearNeighbourCount];
            distances = new double[nearNeighbourCount];
            fixed (double* p = point)
                fixed (int* ind = indexes)
                    fixed (double* d = distances)
                        AnnkFRSearch(p, squareRadius, nearNeighbourCount, ind, d, eps);
        }