svgpathtoolss/svgpathtools
Sebastian Kuzminsky 2feb3c92b5 Arc line intersect, 3rd try (#64)
* 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.
2018-11-04 20:55:17 -08:00
..
__init__.py Added paths2Drawing 2018-10-18 21:28:34 -07:00
bezier.py removed builtins imports 2017-02-28 23:34:29 -08:00
document.py save() now requires filename 2018-08-21 21:27:29 -07:00
misctools.py rgb2hex now allows lists as input 2018-06-10 14:41:27 -07:00
parser.py removed all np.matrix uses (deprecation) 2018-08-21 20:05:59 -07:00
path.py Arc line intersect, 3rd try (#64) 2018-11-04 20:55:17 -08:00
paths2svg.py added paths2Drawing functionality 2018-10-18 21:27:04 -07:00
polytools.py initial commit 2016-07-05 21:51:11 -07:00
smoothing.py removed builtins imports 2017-02-28 23:34:29 -08:00
svg_to_paths.py Flattening SVG groups and handling transforms (#55) 2018-08-21 18:00:29 -07:00