Comments (2)
The algorithm only processes segments which are lines or arcs that are no more than half circles/180 degrees. If you want to work with larger bulge values you can split the arc into two (as you have shown).
If you want the output to have larger bulge values then you can stitch the arcs back together after processing by finding consecutive arcs which are tangent. You can use this function to find the tangent vector (not normalized) at the end points of the arc segments. Then you can normalize the tangent vectors and compare for equality (using some epsilon value for fuzzy float comparing).
from cavaliercontours.
Well got. Many thanks for your explanation。
from cavaliercontours.
Related Issues (20)
- IMPORTANT: Development is continuing in Rust (with C FFI)
- Can you implement `MinkowskiSum`? HOT 1
- can you explain the parameters HOT 1
- How to make a contour with sharp corners instead of arcs? HOT 4
- Support polyline with multiple offsets HOT 1
- incorrect bulge value in some cases HOT 4
- Apparently incorrect output using ParallelOffsetIslands HOT 1
- 3D Offset on surface HOT 2
- boolean operation HOT 1
- Offset bug? HOT 12
- Shifting the input polyline produces very different results HOT 8
- How to scan a polyline / multipolyline HOT 1
- project compile
- Offset failure HOT 5
- generate offset contour of a line segment HOT 2
- Performance Comparison of Difference Calculation in C++ and C#
- New incorrect case HOT 3
- Question: add fillets to contour possible? HOT 1
- Self-intersection HOT 3
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 cavaliercontours.