Jürg Lehni
bcd02129a3
Implement additional unit test for #1054 .
2016-07-27 20:12:29 +02:00
Jürg Lehni
14b2d76450
Boolean: Improve handling of visited segments in intersect() operations.
...
Closes #1123
2016-07-27 19:35:19 +02:00
Jürg Lehni
e643338422
Add options object to boolean operations and improve handling of open paths.
...
This closes #1036 , closes #1072 , closes #1089 and closes #1121
2016-07-27 17:09:52 +02:00
Jürg Lehni
a0417040f8
Improve handling of sub-path orientation in CompoundPath.
...
Remove automatic orientation on insertion, as it caused more troubles than solved problems, in favor of the new PathItem#reorient() method, or the even-odd fill-rule.
Closes #590 , #1029
2016-07-21 15:21:45 +02:00
Jürg Lehni
a683486ff5
Some code cleanup for previous commits, and shorten boolean tests a bit.
2016-07-20 16:32:21 +02:00
Jürg Lehni
f988445dad
Boolean: Implement optimization for operands without crossings.
...
Closes #1113
2016-07-20 16:15:10 +02:00
Jürg Lehni
e7c53b904c
Implement unit test for #973 .
2016-07-18 14:11:34 +02:00
Jürg Lehni
ac97b9d9d7
Implement unit test for #1075
2016-07-17 21:16:52 +02:00
Jürg Lehni
1914e64e4b
Fix boolean tests to compare with improved results.
...
Disovered thanks to @sapics' improved solveCubic() in #1087
2016-07-08 23:05:50 +02:00
Jürg Lehni
0cb9c50e8f
Implement unit test for #1054
...
Closes #1054
2016-06-13 14:54:13 +02:00
Jürg Lehni
ea5a635edf
Implement unit tests for #964
...
Closes #964 .
2016-06-13 14:51:38 +02:00
Jürg Lehni
83a20b4c11
Implement unit test for #1059 .
...
Closes #1059 .
2016-06-10 12:04:08 +02:00
Jürg Lehni
0e2498bdce
Switch to PathItem.create() in unit tests.
2016-02-14 23:22:39 +01:00
Jürg Lehni
8d5c922c50
Simplify code from #971 and activate unit test for it again.
2016-02-14 22:15:55 +01:00
Jürg Lehni
fa6c1f47b4
Hit-Test: Pass viewMatrix as argument instead of in options object.
2016-02-14 13:34:35 +01:00
Jürg Lehni
9c9f43d2c9
Implement failing test for #968
2016-02-14 12:44:03 +01:00
Jürg Lehni
009761d13c
Boolean: Only compare segments when determining if paths are identitcal.
2016-02-13 22:58:42 +01:00
Jürg Lehni
3348fb736f
Boolean: Implement proper handling of fully overlapping (identical) paths and sub-paths.
...
Closes #923 , closes #958
2016-02-13 22:41:09 +01:00
Jürg Lehni
84a75e375a
Remove unnecessary edge-case handling in CurveLocation#isCrossing()
...
Closes #951 , closes #959
2016-02-12 20:52:19 +01:00
Jürg Lehni
8542eb62b4
Gulp: Add test:browser task, to solve CORS issues on Chrome.
2016-02-11 10:05:21 +01:00
Jürg Lehni
0371f66bda
Do not snap curve points to t = 0 / 1 with epsilon
...
Closes #936 . Also:
- Reduce CLIPPING_EPSILON to 1e-9 to fix errors that were masked by the snapping
- Implement unit tests for edge cases in #936
2016-02-06 15:12:35 +01:00
Jürg Lehni
4c84c3dad5
Tests: Start getting QUnit tests to work on Node.js
...
Work in progress…
2016-01-31 12:43:20 +01:00
Jürg Lehni
ab68c5b272
Implement unit tests for #899 .
2016-01-12 12:02:27 +01:00
Jürg Lehni
9a148700b7
Implement unit test for edge case from #799 .
2016-01-09 12:16:50 +01:00
Jürg Lehni
61f5f9bcfa
Implement unit test for #757
...
Currently failing.
2016-01-08 12:28:43 +01:00
Jürg Lehni
3c66c013d1
Implement correct behavior for intersection, subtraction and intersection of fully overlapping paths.
2016-01-08 01:25:35 +01:00
Jürg Lehni
9c1aa47162
Implement unit test for 2nd edge case in #890
2016-01-07 23:19:47 +01:00
Jürg Lehni
1078e1f8a9
Implement winding fix suggested by @iconexperience.
...
Along with a unit test for the issue.
Closes #890
2016-01-07 10:02:43 +01:00
Jürg Lehni
7152942719
Replace links to issues with short references.
2016-01-06 14:13:02 +01:00
Jürg Lehni
45a8a69d67
Implement unit tests for #885 and #889
2016-01-06 13:20:45 +01:00
Jürg Lehni
dd082de70a
Implement unit tests for PathItem#resolveCrossings()
2016-01-06 13:13:59 +01:00
Jürg Lehni
5b98fea3fc
Reactivate the previously failing boolean edge case test.
2016-01-06 11:03:53 +01:00
Jürg Lehni
a6e1a1a76d
Deactivate one failing edge case unit test for now.
...
Relates to #887
2016-01-05 11:14:26 +01:00
Jürg Lehni
7bb102e218
Update boolean tests to correct intersection results.
2016-01-04 22:36:57 +01:00
Jürg Lehni
472972ed0c
Implement unit tests for #870 .
2016-01-04 13:20:20 +01:00
Jürg Lehni
e79fefce96
Implement remaining unit tests from #784 .
2016-01-04 12:52:22 +01:00
Jürg Lehni
3e3f32329b
Implement unit-tests for all of @iconexperience's isolated edge cases.
...
Relates to #784
2016-01-04 12:20:00 +01:00
Jürg Lehni
1543d056a7
Add more boolean unit tests from known edge cases.
2016-01-04 11:01:42 +01:00
Jürg Lehni
4e1b26f4e0
Include stroke in boolean operation unit tests.
...
To compare more than just the filled results, catching additional errors.
2016-01-04 10:47:18 +01:00
Jürg Lehni
b33777274d
More work on unit tests for boolean operation.
2016-01-02 18:21:53 +01:00
Jürg Lehni
d832a1ffcb
Define unit test for #784 .
2015-12-31 14:17:38 +01:00
Jürg Lehni
a4fd2ef3a3
Implement a ton of unit tests for boolean operation.
2015-12-31 14:05:58 +01:00
Jürg Lehni
3035e1d445
Define additional boolean tests and improve resemble.js based image diffing.
2015-12-30 21:55:21 +01:00
Jürg Lehni
a1fcaabed6
Implement item comparison through rasterization and resemble.js diffing, directly integrated into QUnit.
...
And start using it for boolean operation unit tests.
2015-12-30 21:55:21 +01:00
Jürg Lehni
a7a07fb6d5
Update JSDoc and do some documentation spring-cleaning.
...
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
2015-12-30 21:55:19 +01:00
Jürg Lehni
52c0e3e225
Fix boolean test to adress shifted segment sequence.
...
We really need a circular check for closed path geometry.
2015-09-13 13:26:08 +02:00
Jürg Lehni
3137843831
Accomodate overlap handling in boolean tests.
2015-08-25 11:45:45 +02:00
Jürg Lehni
c20b32f748
Implement unit test for #610
2015-01-04 22:10:30 +01:00
Jürg Lehni
f0d28d7529
Implement unit test for #609
2015-01-04 17:46:59 +01:00