2feb3c92b5
* add Line.point_to_t() and tests These tests don't print anything while they run, and they use use the assert() helpers from the unittest module. * add Arc.point_to_t() and tests These tests don't print anything while they run, and they use use the assert() helpers from the unittest module. * add a bunch of failing arc/line intersection tests This commit contains a bunch of failing arc/line intersections that I and other people have run into. These tests don't print anything while they run, and they use use the assert() helpers from the unittest module where possible. All these tests are fixed in the following commit. * better implementation of Arc.intersect(Line) Fixes mathandy/svgpathtools#35. This commit fixes all the arc/line intersection test cases added in the previous commit. This implementation provides special handling in Arc.intersect() when `self` is a non-rotated Arc and `other_seg` is a Line. In this case it uses the straight-forward closed-form solution to identify the intersection points. Rotated Arcs and Arcs intersecting with non-Line objects still use the pre-existing intersection code, that part is totally untouched by this commit. |
||
---|---|---|
.. | ||
__init__.py | ||
bezier.py | ||
document.py | ||
misctools.py | ||
parser.py | ||
path.py | ||
paths2svg.py | ||
polytools.py | ||
smoothing.py | ||
svg_to_paths.py |