Comments (3)
Another bug, found false intersection for Arc is in the file:
https://github.com/sstefanov/svgpathtools/blob/master/test/zip1bp.svg
from svgpathtools.
PR #110 fixes this issue for me.
from svgpathtools.
PR #110 also fixes the false intersection reported by @sstefanov:
In [1]: import svgpathtools
In [2]: paths, attributes, svg_attributes = svgpathtools.svg2paths2("zip1bp.svg")
In [3]: a0 = paths[0][0]
In [4]: a0
Out[4]: Arc(start=(67.281289+259.94689j), radius=(6.0799361+6.0799361j), rotation=0.0, large_arc=False, sweep=False, end=(65.432307+259.23479j))
In [5]: a1 = paths[0][2]
In [6]: a1
Out[6]: Arc(start=(65.432307+249.47878999999998j), radius=(15.762796+15.762796j), rotation=0.0, large_arc=False, sweep=True, end=(74.212133+253.01604999999998j))
In [7]: a0.intersect(a1)
Out[7]: []
In [8]: a1.intersect(a0)
Out[8]: []
from svgpathtools.
Related Issues (20)
- Faster Approximate Intersections Code HOT 4
- Converting from CubicBezier to Poly1D doesnt work correctly
- Is `svgpathtools` officially dead? HOT 1
- Cannot get the intersection between two Bezier Curves HOT 3
- closed paths d() method does not write a final "z" HOT 1
- isclosed() suffers from rounding errors when reading paths HOT 3
- negative scale breaks arc sweep
- Deprecated escape sequences
- bpoints2bezier() does not always return a value HOT 4
- Path.point() might not return a value due to numerical errors HOT 2
- Path parsing floating point issue HOT 2
- Crash if Bad Polyline HOT 2
- Provide Access to Parents and Other Tags (diff)
- Order is Not Preserved HOT 1
- Intersection is not counted properly HOT 1
- Any plan for path boolean operations and path simplification? HOT 1
- baseunit ignored in disvg when viewbox parameter is provided
- Create new svg from code
- Reading in dpaths introduces a lot of floating point approximation noise
- ARC Start and End Angles
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 svgpathtools.