Commit Graph
100 Commits
Author SHA1 Message Date
angusj 5f34747aca C# refactored Path64, Paths64, PathD & PathsD to derived List classes
Updated framework to .NET5.0
2022-09-16 21:00:24 +10:00
angusj a616cb5de6 Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-09-16 07:50:28 +10:00
angusj 509e7d190f Fixed suspect sort function Clipper.Engine.cs (#224) 2022-09-16 07:50:02 +10:00
angusj dbc4020503 Minor bugfixes in Clipper.Offset (+ code tidy)
Minor code tidy of several sample apps.
2022-09-14 20:23:30 +10:00
angusj d81ea065f6 Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-09-12 08:43:11 +10:00
angusj 3b115c0284 Minor refactor Clipper.Offset (Delphi) 2022-09-12 08:42:44 +10:00
angusj 04cc7bbbbc Minor teaks to C# project files 2022-09-11 13:16:21 +10:00
angusj daa1725128 Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-09-11 10:55:42 +10:00
angusj 1ad59edc6f Fixed significant bug in Clipper.Offset 2022-09-11 10:54:42 +10:00
angusj 9579398efd Fixed minor bugs introduced in the previous commit (C++). 2022-09-10 16:12:51 +10:00
angusj cfc6ba84f0 Simplified C++ MakePath function.
Other very minor tweaks.
2022-09-10 16:06:17 +10:00
angusj 75b8483cbf Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-09-10 15:57:20 +10:00
angusj 08f4b970d7 Minor tweak to Visual Studio instructions 2022-09-10 15:56:59 +10:00
angusj 6a5784c7b2 fixed bug introduced in recent commit (f810fcd). 2022-09-08 10:04:51 +10:00
angusj 627ba5dbfb Fixed minor offset bug (#211) 2022-09-07 21:56:57 +10:00
angusj 22d0493813 Minor bug assigning holes in Polytree (#207) 2022-09-07 13:40:30 +10:00
angusj b7b02bcb66 Fixed DecimalSeparator formatting (Delphi) (#183) 2022-09-06 10:11:54 +10:00
angusj 85ecfff102 Bugfixed potential endless loop in C# code
Additional minor C# refactoring (#188, #191, #195)
2022-09-05 17:36:44 +10:00
angusj 46b8c279f8 Tweaks to C# CI settings 2022-09-04 17:15:08 +10:00
angusj f21395e87f Significant clipping performance improvements (Delphi only)
Minor clipping performance improvements (C++, C#)
Fixed format issue in Clipper.SVG.pas (Delphi) (#183)
Fixed a very minor bug joining solution polygons (#177)
Minor bugfixes to ClipperOffset (C++, C#, Delphi)
Tweaked C# CI testing (C#)
BooleanOp() parameter order changed
2022-09-04 17:12:53 +10:00
angusj 6d7b4b5e2c Further Delphi performance improvements 2022-09-03 10:47:43 +10:00
angusj 4ae5871851 Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-09-02 17:21:29 +10:00
angusj 8630842b82 Improved Delphi performance 2022-09-02 17:21:17 +10:00
angusj c222df1f82 Removed unhelpful readme file 2022-08-27 08:32:48 +10:00
angusj cac502d604 Fixed C++ test broken in previous commit 2022-08-26 20:34:30 +10:00
angusj 04674d3562 Added 2 new C++ sample apps 2022-08-26 20:14:58 +10:00
angusj ff60f90371 Updated C# unit testing 2022-08-24 12:21:01 +10:00
angusj c89093ef37 bugfix (part 2) C# ClipperD.ZCallback property (#168) 2022-08-23 13:29:24 +10:00
angusj 5f3a0c2e05 bugfix C# ClipperD.ZCallback property (#168) 2022-08-23 13:15:04 +10:00
angusj 290b0c08f0 Fixed missing FillRule definition C++ (#167)
Added Hypotenuse function (C++)
2022-08-22 09:52:21 +10:00
angusj 4fdd158bc2 Minor bugfix to ClipperOffset.DoSquare
- now squares at exactly 1 delta

The USINGZ compiler option was very buggy (#166)
The Z field is now Int64 in both Point64 and PointD
and will not be affected by coordinate scaling
2022-08-21 19:59:14 +10:00
angusj e3ab29f128 Amend previous commit (see #153) 2022-08-11 06:56:05 +10:00
angusj 903425bf76 Fixed Delphi demo - missing unit declarations #153 2022-08-10 23:50:23 +10:00
angusj 7d5ab85059 Poor merging of 'touching' solution polygons #159 2022-08-10 22:21:58 +10:00
angusj cac2d61550 Code tidy
to improve naming consistency between languages
2022-08-05 09:58:25 +10:00
angusj c61712659f Minor code tidy 2022-08-03 21:47:05 +10:00
angusj 6048a2f2a7 Revert "Inherit from ClipperBase privately (#152)"
This reverts commit d14b2dfe5b.
2022-08-03 20:24:40 +10:00
angusj ca87a49926 Minor edit to README.md 2022-08-03 10:36:34 +10:00
angusj 782b2c7984 Updated README.md and removed Docs folder 2022-08-03 10:35:19 +10:00
angusj 70f0839c14 Removed 'beta' status from file headers. 2022-08-03 10:22:49 +10:00
angusj a4473c2dcb Minor changes to PolyTree structure
including ChildCount renamed to Count
and Child replaced with the array operator
2022-08-03 09:08:34 +10:00
angusj d839eda798 Fixed broken open path clipping in C# (#148) 2022-07-31 09:01:57 +10:00
angusj cbd51180f1 C# & Delphi fixes for infinite loop (#144). 2022-07-30 18:40:30 +10:00
angusj ec722a81b8 fix infinite loop (#144), only C++ so far 2022-07-30 00:20:33 +10:00
angusj ecd5e293df Fixed bugs in previous commit (C# only) 2022-07-28 15:05:13 +10:00
angusj dafa798fbf Additional file changes missed in previous update 2022-07-28 14:24:08 +10:00
angusj 1b9abb7898 Fixed minor GetBounds error (#143)
Delayed C# Polytree update (#131)
2022-07-28 14:19:17 +10:00
angusj 34f7899f52 removed invalid include reference (C++) 2022-07-27 16:00:55 +10:00
angusj 11b4aa8d85 Fixed broken CMakeLists.txt file 2022-07-27 15:58:25 +10:00
angusj 7d225740ef Significantly improved performance of Polytree construction (#131)
Other minor tweaks.
2022-07-27 15:56:24 +10:00
angusj dd873d5afa fixing C++ compiler issues 2022-07-23 17:24:58 +10:00
angusj 582d167e72 fixing minor C++ compiler issues 2022-07-23 17:20:04 +10:00
angusj 1126d061e7 Fixing minor issues with CI testing 2022-07-23 16:51:13 +10:00
angusj e221d2f2fe Fixed minor issues with formatting (C++) 2022-07-23 16:24:43 +10:00
angusj 27d9f02fbf bugfix infinite recursion (#131)
Deleted DEFAULT_ORIENTATION_IS_REVERSED constant
clipper.h (C++)
  Fixed bug in PointInPolygon
  Added decimal precision to float version of Boolean Ops
clipper.engine
  Fixed buggy clipping of open paths (C++, C# & Del.)
2022-07-23 16:13:43 +10:00
angusj ba3fde14bf fix infinite recursion in C++ (#131) 2022-07-21 08:50:01 +10:00
angusj 6a250550d3 Fixed overly zealous artefact removal (#130) 2022-07-19 17:42:19 +10:00
angusj be88c20ef1 Minor fix to C++ CI testing (#129) 2022-07-18 23:40:53 +10:00
angusj b2ade0edd8 Fixed mildly buggy PolyTreeToPaths function (C++) 2022-07-18 23:27:17 +10:00
angusj 290354f169 Minor update to C# CI testing 2022-07-18 14:07:16 +10:00
angusj b0639a7151 Fixed recursion loop in Clipper.Engine DeepCheckOwner (#128). 2022-07-18 13:52:37 +10:00
angusj 4fc306bd81 Renaming OffsetPaths to TranslatePaths (part 2) 2022-07-17 15:16:04 +10:00
angusj c55560b5b8 Renamed OffsetPaths to TranslatePaths 2022-07-17 14:59:52 +10:00
angusj 21f01f0bd0 Formatting only (added a space after all //). 2022-07-17 12:33:08 +10:00
angusj 113e547757 Further improvements to polytree hole assignment (#127)
Improved C# CI testing
Plus other minor tweaks :).
2022-07-17 09:55:05 +10:00
angusj b8bd78ef36 Further improvements to polytree hole assignment (#125) 2022-07-14 20:20:51 +10:00
angusj 152a7b6891 Fixed bug in polytree with incorrect hole assignment (#125) 2022-07-14 17:21:42 +10:00
angusj 322c7d1c35 Cody tidy
Reverted previous revert :).
The intial reversion was due to unfounded concerns about performance
2022-07-14 12:31:41 +10:00
angusj 278345016f Revert "Code tidy."
This reverts commit 5d866ab479.
2022-07-14 10:36:28 +10:00
angusj 5d866ab479 Code tidy.
(Issue #125 is still to be addressed)
2022-07-14 10:20:46 +10:00
angusj bd4168541c Fixed buggy PointInPolygon functions (#124) 2022-07-12 13:32:58 +10:00
angusj b25c2d28c9 Fixed additional problems with Polytree ownership (#123)
Fixed C# ReferenceEquals (#121)
2022-07-11 22:30:01 +10:00
angusj a17831425f Fixed PointInPolygonResult (c++) 2022-07-10 18:52:00 +10:00
angusj 997957fa8e Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-07-10 18:42:24 +10:00
angusj 09dec9d35b Renamed PointInPolyResult to PointInPolygonResult (C++) 2022-07-10 18:42:04 +10:00
angusj 0bdc3c2f3b Minor documentation update 2022-07-10 08:20:19 +10:00
angusj f4976f050d Updated Readme 2022-07-10 08:10:28 +10:00
angusj e3a161a4a1 further C# CI testing fixes 2022-07-09 22:56:32 +10:00
angusj 40475c681a Additional C# CI testing fixes 2022-07-09 22:39:53 +10:00
angusj 4a43c4f706 fixed broken workflow file 2022-07-09 22:22:13 +10:00
angusj 0594d30921 Added C# very basic CI testing 2022-07-09 22:19:44 +10:00
angusj 2caa5bbc74 Fixed incorrect Polytree hierarchy (ie path ownership) (#120)
Started some very basic C# testing.
Updated C# examples
Fixed the buggy DoSimplifyFailingPaths function (Delphi only)
2022-07-09 21:51:31 +10:00
angusj 2b52f1c1db Fixed bugs in TrimCollinear(#117).
Improved open path clipping (#116).
2022-07-03 12:49:15 +10:00
angusj 79a63daa11 Improving open path clipping (Delphi only so far)
Removed experimental code accidentally included in prev. commit
2022-06-26 21:47:43 +10:00
angusj 2659289eb1 Minor tweak to clipper.engine.cpp 2022-06-26 11:54:25 +10:00
angusj 064754ee6f fixed additional C++ compile errors 2022-06-26 10:38:28 +10:00
angusj 00a767ee00 Fixed a C++ compile error 2022-06-26 10:32:57 +10:00
angusj 62a6e696e7 Improved clipping artefact removal
Tidied up open path clipping algorithm
Fixed C++ compile errors (#113)
Changed Polytree.childs and Polytree.Polygon to properties
2022-06-26 10:25:59 +10:00
angusj f8a8750c3e C# library refactor
renamed Clipper to Clipper64
  renamed ClipperFunc to Clipper
  renamed InternalClipperFunc to InternalClipper
Minor tweaks to C# sample apps.
Fixed bugs in PointInPolygon function
Added TestOrientation.cpp to CI testing
2022-06-21 11:48:46 +10:00
angusj 624eddb1c6 Minor bugfix re. open path clipping (C#) 2022-06-19 13:50:48 +10:00
angusj c6a026335c Fixed significant bug in ClipperOffset (C#) 2022-06-19 12:49:19 +10:00
angusj 151d6ce58f Fixed significant bugs in open path clipping
Added TrimCollinear functions (plus CI test)
2022-06-19 11:59:18 +10:00
angusj efc32949c6 Updated tests
Fixed numerous annoying bugs in PointPlotter
2022-06-17 11:30:32 +10:00
angusj 8ef8f4633a Removed unused parameter in ClipperOffset's constructor 2022-06-17 09:12:33 +10:00
angusj 8963737e8d Merge branch 'main' of https://github.com/AngusJohnson/Clipper2.git into main 2022-06-17 08:51:28 +10:00
angusj 1dc3ebf832 Further Orientation fixes 2022-06-17 08:46:22 +10:00
angusj 74ca5f6bea Fixed DEFAULT_ORIENTATION_IS_REVERSED bug (#103) 2022-06-16 12:42:52 +10:00
angusj 350e15dd94 Further fixes for Linux compiles 2022-06-16 10:55:40 +10:00
angusj 40b1020435 Minor fix to SvgWriter so will compile in Linux. (C++) 2022-06-16 10:41:35 +10:00
angusj efdba499bc Fix PolyPath<T>::Area (#102)
and clipper.offset.h issue
2022-06-16 10:29:51 +10:00