fix typo in kd-tree

replace Count() by Count or Length
This commit is contained in:
BobLd
2020-03-03 09:34:23 +00:00
committed by Eliot Jones
parent e477bc8d6d
commit 1e1a33d46e
6 changed files with 14 additions and 14 deletions

View File

@@ -705,7 +705,7 @@
private static PdfPoint[] Intersect(PdfPath.BezierCurve bezierCurve, PdfPoint p1, PdfPoint p2)
{
var ts = IntersectT(bezierCurve, p1, p2);
if (ts == null || ts.Count() == 0) return EmptyArray<PdfPoint>.Instance;
if (ts == null || ts.Length == 0) return EmptyArray<PdfPoint>.Instance;
List<PdfPoint> points = new List<PdfPoint>();
foreach (var t in ts)