mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 10:55:04 +08:00
use IReadOnlyList<PdfPoint> i/o PdfPoint[] in KdTree
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
/// K-D tree data structure of <see cref="PdfPoint"/>.
|
||||
/// </summary>
|
||||
/// <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>
|
||||
|
Reference in New Issue
Block a user