mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-19 02:37:56 +08:00
kd-tree
This commit is contained in:
@@ -29,8 +29,6 @@
|
|||||||
throw new ArgumentException("KdTree(): candidates cannot be null or empty.", nameof(candidates));
|
throw new ArgumentException("KdTree(): candidates cannot be null or empty.", nameof(candidates));
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLine("New");
|
|
||||||
|
|
||||||
Root = BuildTree(Enumerable.Range(0, candidates.Count).Zip(candidates, (e, p) => (e, candidatesPointFunc(p), p)).ToArray(), 0);
|
Root = BuildTree(Enumerable.Range(0, candidates.Count).Zip(candidates, (e, p) => (e, candidatesPointFunc(p), p)).ToArray(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user