use IReadOnlyList<PdfPoint> i/o PdfPoint[] in KdTree

This commit is contained in:
BobLd
2020-05-23 19:11:53 +01:00
committed by Eliot Jones
parent ca4111ec1b
commit 08300f6a3a

View File

@@ -16,7 +16,7 @@
/// K-D tree data structure of <see cref="PdfPoint"/>. /// K-D tree data structure of <see cref="PdfPoint"/>.
/// </summary> /// </summary>
/// <param name="points">The points used to build the tree.</param> /// <param name="points">The points used to build the tree.</param>
public KdTree(PdfPoint[] points) : base(points, p => p) public KdTree(IReadOnlyList<PdfPoint> points) : base(points, p => p)
{ } { }
/// <summary> /// <summary>