Comments (5)
FWIW, I disagree with the assessment of Clipper 2 as not production ready. We (KiCad) had a number of long standing issues with Clipper 1 that could not be resolved due to the architecture. They have been resolved by Clipper2. We have reported two bugs in Clipper2 and both have been fixed quickly.
Clipper 2 is not 100% call compatible. You need to read the documentation where all differences are clearly stated and compared with equivalent Clipper1 ideas.
Lastly, I'd recommend moving this to a discussion rather than an issue.
from clipper2.
I can only echo @sethhillbrand's comments. I have several production tools that were ported to Clipper2 and tracked its progress through to the current day. Angus fixed issues reported and I've not had an issue to report for a long while now. The performance boost has been phenomenal and in many cases, the current system requires fewer workarounds (e.g. for open path clipping in terms of raycasting) than I needed for Clipper 1.
Porting should actually be fairly painless in most cases. Switch the library over and see what the IDE throws up. Fixing it from there is largely just adapting to new syntax. The one minor thing to note is that open path offsetting is per-side, not width, in Clipper 2.
from clipper2.
#209
I was testing once migration from clipper 1 to clipper 2.
I wrote in in the link above notes as I was going by.
After making it compile, I found 2 issues. one was the inflating lines was differenting from clipper1. the other is that in my usecase clipper2 was slower.
one last thing, I feel still that clipper2 isnt mature enough yet.
from clipper2.
Thanks for making those notes available. That at least tells it's doable.
Some of the notes are not too clear what you substitute with what but I guess I'll work it out once I did into the code.
I feel still that clipper2 isnt mature enough yet.
do you mean it is less mature than clipper1 ?
from clipper2.
Indeed. Clipper2 isn't 100% production ready AFAIK. I follow the issues posted here, and sometimes I see poeple complainig about critical bugs.
Clipper1 has a been then for years, used by many.
from clipper2.
Related Issues (20)
- Regression when removing type casting in IsCollinear() HOT 4
- Minkowski in export header HOT 4
- Clipper2 slower than clipper1 HOT 2
- New release? HOT 1
- can this library cut a hole in a polygon?
- How to handle path value of double type HOT 1
- [new API request] API using PolyTree for RectClip HOT 1
- Dose Clipper support to get Inscribed rectangle ?
- How Clipper2 is used in iOS project(Cocoaspod)
- Union returns self-intersecting polygon HOT 1
- Why is Rect empty when bottom <= top?
- Union of forms that touch but don't intersect
- Union of forms that share an edge
- Empty polytree when taking the union of 3 closed polygons. HOT 6
- Is there a plan for the clipper to support circular arc structures
- `RectClip` not always preserving orientation HOT 3
- Range error in TClipperOffset.BuildNormals (Delphi) HOT 1
- update vcpkg & docs HOT 1
- Negative offset should be empty but is not HOT 4
- Handling Large Shrinking Deltas for Polygons
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipper2.