Jürg Lehni
|
803dfb6bb1
|
Improve reliability of Curve#isStraight()
Closes #1066
|
2016-06-10 12:33:44 +02:00 |
|
Jürg Lehni
|
a59a5354fb
|
Clean-up unit test for #943 and add edge case from #944
See https://github.com/paperjs/paper.js/pull/944#issuecomment-180370569
|
2016-02-05 21:18:16 +01:00 |
|
Jürg Lehni
|
340a1e2a5f
|
Rename curve-time in API from 'parameter' to 'time'
And create separate versions of methods that receive curve-time arguments instead of offsets.
Curve#getNormalAt(time, true) -> #getNormalAtTime(true)
Curve#divide() -> #divideAt(offset) / #divideAtTime(time)
Curve#split() -> #splitAt(offset) / #splitAtTime(time)
Curve#getParameterAt(offset) -> #getTimeAt(offset)
Curve#getParameterOf(point) -> getTimeOf(point)
Curve#getPointAt(time, true) -> #getPointAtTime(time)
Curve#getTangentAt(time, true) -> #getTangenttTime(time)
Curve#getNormalAt(time, true) -> #getNormalAtTime(time)
Curve#getCurvatureAt(time, true) -> #getCurvatureAtTime(time)
CurveLocation#parameter -> #time
Path#split(offset/location) -> #splitAt(offset/location)
Closes #563
|
2016-02-02 11:59:53 +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
|
7152942719
|
Replace links to issues with short references.
|
2016-01-06 14:13:02 +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
|
12dbd3eb26
|
Add unit tests for isCrossing() and define a new, currently failing test.
|
2015-12-30 21:55:19 +01:00 |
|
Jürg Lehni
|
1d80c13b73
|
Clean up path intersection tests.
|
2015-12-30 21:55:17 +01:00 |
|
Jürg Lehni
|
a683493e59
|
Implement unit tests for path intersection.
Related: #565, #568, #570, #571
|
2015-01-04 14:01:32 +01:00 |
|