From 08300f6a3a19e620d4935681fbbf70ccafc629b7 Mon Sep 17 00:00:00 2001 From: BobLd Date: Sat, 23 May 2020 19:11:53 +0100 Subject: [PATCH] use IReadOnlyList i/o PdfPoint[] in KdTree --- src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs index 648fed75..0b823e55 100644 --- a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs +++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs @@ -16,7 +16,7 @@ /// K-D tree data structure of . /// /// The points used to build the tree. - public KdTree(PdfPoint[] points) : base(points, p => p) + public KdTree(IReadOnlyList points) : base(points, p => p) { } ///