17 Commits

Author SHA1 Message Date
jos
0513898a4b Fix using new for side effects 2018-06-13 16:31:18 +02:00
jos
17f07ec098 Fixed incompatibility with v4 (index.js file) 2018-06-13 14:02:50 +02:00
jos
b3b96749bf Refactored var into const/let, and removed a lot of semicolons 2018-06-13 12:21:14 +02:00
jos
024b2a9e26 Fix most lint errors using npx standard --fix 2018-06-10 20:28:27 +02:00
jos
635cd0b574 Revert using /lib/ in tests, use /src/ again. Fixed coverage testing. WIP 2018-06-06 22:11:52 +02:00
jos
79071b5e4f Fixed npm run test:browser not working (WIP) 2018-06-06 21:30:41 +02:00
jos
0c084b8e20 npm test working now 2018-06-06 15:36:36 +02:00
alik
4c842de7c6 Added BigNumber support for distance() and intersect() functions 2017-12-24 18:28:21 -05:00
viclai
5baa2b8848 Added Unit Test for Intersect Bug 2017-05-27 07:58:32 -07:00
Keunhong Park
f6d021e2f9 Fix #540: math.intersect() is numerically unstable
This fixes the numerically unstable math.intersect() for the 2
dimensional case by computing whether the determinant is within
config.epsilon instead of a hard equality check.
2016-01-13 23:19:11 -08:00
Kunal Vyas
6d5412dbab Using objects for better clarity 2015-10-04 09:21:05 -04:00
Kunal Vyas
33c967123d more functions for distance
- point to line (2D and 3D)
- pairwise distances (2D and 3D)
- Unit tests
2015-09-09 22:25:31 -04:00
Kunal Vyas
99730e0a57 Added 3D function to distance 2015-09-04 15:40:45 -04:00
Devan Patel
d589ce54f9 Adding more unit tests for Distance 2015-08-31 17:56:43 -04:00
Devan Patel
eab1d0be48 Adding distance
Adding source + test + docs + fixing index.
2015-08-30 13:05:07 -04:00
jos
3cf7d2c309 Conversions to v2 2015-06-07 16:53:40 +02:00
Kunal Vyas
58cfb20ffd Wrote unit tests
- Added intersect.js file in lib/expression/docs
- added an entry in the index.js file in expression/docs
- modified intersect.js to give appropriate error messages
- added an entry in lib/math.js so that the test case file could find
the function
- wrote the test cases for intersect
2015-06-06 22:44:32 -04:00