Some Delphi 7 issues
Polygon and line clipping and offsetting library (C++, C#, Delphi)
Brought to you by:
angusj
1) File saved as Unicode
unit Clipper.Core;
korr:
unit Clipper.Core;
2) Delphi 7: Invalid type cast
Result := Result +
double((path[j].Y + path[i].Y)) * (path[j].X - path[i].X);
korr:
Result := Result +
(path[j].Y + path[i].Y) * (path[j].X - path[i].X);
3) Delphi 7: Invalid type cast
Result := Result +
double(op2.Prev.Pt.Y + op2.Pt.Y) *
(op2.Prev.Pt.X - op2.Pt.X);
korr:
Result := Result +
(op2.Prev.Pt.Y + op2.Pt.Y) *
(op2.Prev.Pt.X - op2.Pt.X);
Anonymous
Refers to Clipper 2.
Clipper2Lib issues should probably go to Github.
Hi again Ralf.
Thanks for reporting this. I'll fix it in the next upload.
(That might be a few more days as I'm currently occupied with merging touching polygons in clipping solutions. I've had many attempts at this - to do it relatively simply and without a significant performance load - but this time I think/hope I've finally got it nailed.)
Yes, I'd prefer all Clipper2 feedback here please.
Sorry, I have still sourceforge in my mind. Maybe you should empty it and make a link on github.