svgpathtools/test
Sebastian Kuzminsky 2da39e4c02 Arc line intersect, take 2 (#60)
* add Line.point_to_t() and tests

* add Arc.point_to_t() and tests

* 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.

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.
2018-08-22 00:19:05 -07:00
..
__init__.py improve distribution to PyPI 2016-10-29 00:35:51 -07:00
circle.svg Added functionality to process both circles and ellipses. 2017-04-07 09:44:04 +02:00
ellipse.svg Added functionality to process both circles and ellipses. 2017-04-07 09:44:04 +02:00
groups.svg Flattening SVG groups and handling transforms (#55) 2018-08-21 18:00:29 -07:00
polygons.svg polygon/polyline parsing tests added 2018-05-27 12:34:12 +03:00
rects.svg added svg (planning to make unittest in future) 2017-04-26 02:21:43 -07:00
test.svg improve distribution to PyPI 2016-10-29 00:35:51 -07:00
test_bezier.py removed builtins imports 2017-02-28 23:34:29 -08:00
test_generation.py removed builtins imports 2017-02-28 23:34:29 -08:00
test_groups.py aesthetic cleanup 2018-08-21 20:54:02 -07:00
test_parsing.py aesthetic cleanup 2018-08-21 20:54:02 -07:00
test_path.py Arc line intersect, take 2 (#60) 2018-08-22 00:19:05 -07:00
test_polytools.py improve distribution to PyPI 2016-10-29 00:35:51 -07:00
test_svg2paths.py polygon/polyline parsing tests added 2018-05-27 12:34:12 +03:00