Menu

#213 Some Delphi 7 issues

*
open
None
2
2022-03-26
2022-03-25
No

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);

Discussion

  • ralf stocker

    ralf stocker - 2022-03-25

    Refers to Clipper 2.

     
  • Phil Stopford

    Phil Stopford - 2022-03-25

    Clipper2Lib issues should probably go to Github.

     
  • Angus Johnson

    Angus Johnson - 2022-03-26

    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.)

    Clipper2Lib issues should probably go to Github.

    Yes, I'd prefer all Clipper2 feedback here please.

     
  • Anonymous

    Anonymous - 2022-03-26

    Sorry, I have still sourceforge in my mind. Maybe you should empty it and make a link on github.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB