803acc9a87
relicense under MPL-2.0
2018-08-04 15:14:06 +10:00
34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
4f795c9e40
bezier: add signed distance queries
2016-12-21 20:25:50 +11:00
d51cfe7a34
stream: remove unneeded numeric class
...
explicitly cast before passing to a stream routine if you need it.
2016-06-29 17:52:26 +10:00
7f4cf49931
iterator: use infix_iterator for coord ostream
2016-03-11 12:48:19 +11:00
92be31d870
bezier: add cbegin/cend/begin/end
2016-03-11 12:43:29 +11:00
3b97f56ead
polynomial: rename solve as roots
2015-07-21 02:59:14 +10:00
9b548e56d9
point: convert distance member functions to functions
2015-06-01 15:29:24 +10:00
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10:00
439bb19679
coord: move operators out of subclasses
2015-03-06 01:09:58 +11:00
43fcd59d80
bezier: remove unused local variable
2015-02-20 16:06:28 +11:00
3d53ee5eb1
bezier: add region query
2015-02-03 12:58:41 +11:00
34637949e2
bezier: avoid type punning on points member
2015-02-03 02:21:33 +11:00
65fdb5e47a
bezier: use the original distance method
...
now the cubic solver is functional the old code appears correct, and it
seems to be more concise and more rigorously derived.
2015-02-03 02:20:12 +11:00
cf5a682959
bezier: add intersection count test
2015-01-29 15:49:57 +11:00
6abfd252d9
coord: move free maths func from point to vector
2015-01-28 14:59:33 +11:00
d63457c567
bezier: add ostream operator
2015-01-22 14:56:19 +11:00
436ae3db54
bezier: add distance to point
2015-01-22 14:56:05 +11:00
a0167e07d7
bezier: correct ordering of order 2 eval
2015-01-22 14:55:13 +11:00
8a43c0f416
bezier: use correct degree parameter
2015-01-22 14:54:32 +11:00
2419e07547
bezier: initial eval for order 2-4
2015-01-21 23:42:45 +11:00