Commit graph

33 commits

Author SHA1 Message Date
hkrish
af7c96039c Filter duplicate intersections returned by curve.addIntersections
In cases where segments and lines overlap!
2013-04-28 21:51:22 +02:00
hkrish
e3e827496a Added new failing test cases 2013-04-27 16:27:17 +02:00
hkrish
74b599c805 paperjs updated to rev#8d35d92. Removed getLineIntersections. Needs a better intersection algorithm 2013-04-27 16:26:44 +02:00
hkrish
29dffd1984 Update to the latest paperjs api 74f6a93 2013-04-26 09:55:21 +02:00
hkrish
019693d144 Remove stray lines and segments in the result 2013-04-25 15:28:49 +02:00
hkrish
59a540a71b More tests 2013-04-25 14:37:58 +02:00
hkrish
94f69e4649 New #contains method, that returns whether a point is on th path or not.\n\nThis resolves most of the failing tests. 2013-04-25 14:37:37 +02:00
hkrish
ecb18af3c2 Ideas for further optimisation 2013-04-24 23:14:11 +02:00
hkrish
a10215915d Use CurveLocation Objects native _id property 2013-04-23 23:01:21 +02:00
hkrish
1e8e045f5e Updated tests: changed to #importSVG from #importSvg 2013-04-23 22:58:25 +02:00
hkrish
8f6b8c738a added a failing test case - Paths that just touch each other 2013-04-23 19:46:41 +02:00
hkrish
95506e37a9 Remove overloaded Curve._addIntersections, use paperjs' native method 2013-04-22 21:05:29 +02:00
hkrish
143448c054 delete tags 2013-04-22 16:20:18 +02:00
hkrish
282b19b6bc Readme, Licence etc. 2013-04-22 16:18:44 +02:00
hkrish
eec2638146 more tests 2013-04-22 11:55:44 +02:00
hkrish
f3e278f13b Fixes in finding the "base-contour" 2013-04-22 11:55:34 +02:00
hkrish
af48103417 Added more tests 2013-04-21 22:28:02 +02:00
hkrish
e74c2894e9 Reorient CompoundPaths so that holes and islands are handled correctly 2013-04-21 22:25:35 +02:00
hkrish
0fb83df73f Resolve self intersections in a single path 2013-04-21 21:19:22 +02:00
hkrish
1f428cbddc Update header comment 2013-04-21 19:16:50 +02:00
hkrish
cca42872ed Throw more errors 2013-04-21 18:11:58 +02:00
hkrish
43d3243179 Throw errors when the graph cannot be traversed 2013-04-21 17:45:58 +02:00
hkrish
0108f004f1 Don't create handles if curves are linear 2013-04-21 14:57:29 +02:00
hkrish
c5984bb9f4 Avoid cloning the segments whil making a graph 2013-04-21 14:38:57 +02:00
hkrish
07aeadac6c Using CurveLocation objects now 2013-04-21 13:51:51 +02:00
hkrish
9f844eb69a Changed the URL on the header 2013-04-20 19:54:45 +02:00
hkrish
cfe1bc0329 Added some complex test cases 2013-04-20 02:04:51 +02:00
hkrish
aa9f569931 Trying getParameterOf instead of getNearestLocation.parameter 2013-04-19 22:35:36 +02:00
hkrish
aabec49446 Boolean Subtraction added 2013-04-19 19:49:44 +02:00
hkrish
27eeb24c4f Compound Paths working now. Also pulled in jLehni's changes on resolving transformations on compoundpaths 2013-04-19 14:46:27 +02:00
hkrish
7b6b94fc21 Boolean Union and Intersection working 2013-04-18 20:27:19 +02:00
hkrish
b96136fc3e Boolean re write using curve.split. Not working! :( 2013-03-18 22:54:10 +01:00
hkrish
7f8237adc8 Rudimentary Boolean (Union) code working.
Only Polygons for now. Need to add handles appropriately
2013-03-18 17:04:46 +01:00