mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 10:55:04 +08:00
fix typo in kd-tree
replace Count() by Count or Length
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user