Commit graph

4131 commits

Author SHA1 Message Date
Jürg Lehni
e7376b0478 Add support for aliases in Bootstrap.js 2013-05-06 20:55:58 -07:00
Jürg Lehni
d70c9b0464 Minor syntax fixes. 2013-05-05 23:19:22 -07:00
Jürg Lehni
3a7547a255 Bring back accidentally removed static functions on Curve. 2013-05-05 23:14:49 -07:00
Jürg Lehni
8d2cfc87ed Fix build script. 2013-05-05 23:07:16 -07:00
Jürg Lehni
db42dfdfc1 Implement simpler strategy to iteratively find nearest points on paths.
Idea based on method described on http://pomax.github.io/bezierinfo/
2013-05-05 23:05:57 -07:00
Jürg Lehni
dbc07207f7 Minor changes to bootstrap.js 2013-05-05 22:39:59 -07:00
Jürg Lehni
fa34ea5e5b Update package.json 2013-05-05 19:34:23 -07:00
Jürg Lehni
addf28d724 Fix authors list. 2013-05-05 19:23:41 -07:00
Jürg Lehni
acb3d6f5f9 Update package.json for publishing to NPM. 2013-05-05 19:22:13 -07:00
Jürg Lehni
0fc4b9f28d Remove intersection caching code. 2013-05-05 16:38:18 -07:00
Jürg Lehni
83b68cdb8e Restore full validation check for resulting paths. 2013-05-05 16:36:25 -07:00
Jürg Lehni
c006b081f6 Fix issue that broke "Maximum possible intersections between 2 cubic bezier curve segments - 9" test. 2013-05-05 16:23:41 -07:00
hkrish
9b5723e902 Adding more tests 2013-05-05 17:45:29 +02:00
hkrish
0785af76ee Fat-line clipping. Needs more tests. 2013-05-05 17:45:06 +02:00
hkrish
fd30fa8427 Migrate Convexhull code to Intersect.js 2013-05-05 15:34:20 +02:00
hkrish
94d59d8330 Convex hull working 2013-05-05 15:24:47 +02:00
hkrish
c10f6373a4 convex hull code working 2013-05-05 15:18:09 +02:00
hkrish
f08bc9b752 convex hull progress 2 2013-05-05 14:50:09 +02:00
hkrish
f9bd295201 Convex hull for a simple quadrilatteral 2013-05-05 14:25:51 +02:00
hkrish
7075427619 Convex hull code in progress 2013-05-05 13:38:56 +02:00
hkrish
9b2488e738 old approach 2013-05-05 12:17:01 +02:00
hkrish
14c731edc0 Almost working. But needs a better solution that can handle multiple ixs 2013-05-05 12:15:18 +02:00
Jürg Lehni
45699e05b5 Fix console logging. 2013-05-04 14:27:53 -07:00
Jürg Lehni
d9e2d2a94a Fix console logging. 2013-05-04 14:27:53 -07:00
Jürg Lehni
fb5044f1bf Run BooleanOperations.html code asynchronously for immediate feedback. 2013-05-04 14:26:29 -07:00
Jürg Lehni
eb8ebca097 Run BooleanOperations.html code asynchronously for immediate feedback. 2013-05-04 14:26:29 -07:00
Jürg Lehni
364f6dcd36 Improve code comments a bit. 2013-05-04 11:13:38 -07:00
Jürg Lehni
6da97b894f Improve code comments a bit. 2013-05-04 11:13:38 -07:00
Jürg Lehni
656300ffb1 Write documentation for boolean path operations. 2013-05-04 10:58:50 -07:00
Jürg Lehni
d911c7b12a Write documentation for boolean path operations. 2013-05-04 10:58:50 -07:00
Jürg Lehni
5a9f1e697d Add Harikrishnan Gopalakrishnan to the contributors list.
Thanks Hari!
2013-05-04 10:36:28 -07:00
Jürg Lehni
cc0a6e7c3a Add Harikrishnan Gopalakrishnan to the contributors list.
Thanks Hari!
2013-05-04 10:36:28 -07:00
Jürg Lehni
26b3beed5c Implement static Line.intersect() and use it to speed up Curve.getIntersections()
Unfortunately doesn't seem to have any impact!
2013-05-04 10:22:10 -07:00
Jürg Lehni
f704b00e00 Implement static Line.intersect() and use it to speed up Curve.getIntersections()
Unfortunately doesn't seem to have any impact!
2013-05-04 10:22:10 -07:00
Jürg Lehni
86a26db2a2 Use variable names that better reflec functionality and original naming. 2013-05-04 09:58:46 -07:00
Jürg Lehni
4eff5bf45e Use variable names that better reflec functionality and original naming. 2013-05-04 09:58:46 -07:00
hkrish
979ef08043 Return whether to subdivide the surve further or not
Don't try to subdivide inside _clipFatLine! Taking a hint from
fatline.java. Which I probably should've done earlier!
2013-05-04 14:14:35 +02:00
Jürg Lehni
f58f58e406 Some more minor tweaks. 2013-05-04 03:38:19 -07:00
Jürg Lehni
3ab20ea3e9 Some more minor tweaks. 2013-05-04 03:38:19 -07:00
Jürg Lehni
023f768817 Further clean up.
Instead of removing temporary data structure, clone Segment.
2013-05-04 03:33:44 -07:00
Jürg Lehni
1e8947af63 Further clean up.
Instead of removing temporary data structure, clone Segment.
2013-05-04 03:33:44 -07:00
Jürg Lehni
cb66f6f2e2 Improve comments. 2013-05-04 03:20:53 -07:00
Jürg Lehni
31a45bad97 Improve comments. 2013-05-04 03:20:53 -07:00
Jürg Lehni
cbde2ea526 Fix accidental variable leakage. 2013-05-04 03:13:57 -07:00
Jürg Lehni
e1ef69f23a Fix accidental variable leakage. 2013-05-04 03:13:57 -07:00
Jürg Lehni
b5abfcb515 One last optimization in computeBoolean(). 2013-05-04 03:08:43 -07:00
Jürg Lehni
469d3129a6 One last optimization in computeBoolean(). 2013-05-04 03:08:43 -07:00
Jürg Lehni
3ee10c1765 more optimizations in computeBoolean().
I think this is done now!
2013-05-04 03:00:31 -07:00
Jürg Lehni
7fdaa3e699 more optimizations in computeBoolean().
I think this is done now!
2013-05-04 03:00:31 -07:00
Jürg Lehni
9fb7340aac Remove need for __segment property and further simplify computeBoolean() code. 2013-05-04 02:50:18 -07:00