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
|
a79212b920
|
Make handling of points on infinite lines in Line.getSide() more clear.
|
2015-10-21 10:00:11 +02:00 |
|
Jürg Lehni
|
0cb792de93
|
Reverse sign of Line.getSignedDistance()
Closes #789
|
2015-10-21 09:35:40 +02:00 |
|
Jürg Lehni
|
1f476c2107
|
Improve CurveLocation#isTouching() to better handle straight lines.
|
2015-10-21 01:10:24 +02:00 |
|
Jürg Lehni
|
140fba56cc
|
Fix Line#isCollinear() and #isOrthogonal()
|
2015-10-20 23:37:37 +02:00 |
|
Jürg Lehni
|
e92a71e8c7
|
Switch to improved version of Line. getSignedDistance()
Based on the error analysis by @iconexperience outlined in #799
|
2015-10-08 22:56:05 +02:00 |
|
Jürg Lehni
|
be2f98d91a
|
Optimize various isCollinear() and isOrthogonal() methods.
|
2015-10-03 17:42:52 -04:00 |
|
Jürg Lehni
|
5d7a596026
|
Fix wrong upper bounds check in Line.intersect()
1 as a solution was accidentally excluded.
|
2015-10-03 11:44:43 -05:00 |
|
Jürg Lehni
|
9b883e5fb6
|
Introduce new TRIGONOMETRIC_EPSILON with higher precision than GEOMETRIC_EPSILON.
|
2015-10-01 20:44:27 -05:00 |
|
Jürg Lehni
|
0ca5a106de
|
Improve Line.intersect() comments.
|
2015-10-01 04:50:41 -05:00 |
|
Jürg Lehni
|
75a004187e
|
Improve Line.intersect() to more reliably find interesctions at the beginnings / ends.
Relates to #784
|
2015-10-01 04:38:48 -05:00 |
|
Jürg Lehni
|
4e9bac1ca5
|
Fix code brokean in commit a869add90d
|
2015-09-30 12:39:59 -05:00 |
|
Jürg Lehni
|
a869add90d
|
Rename variables in Line.intersect()
|
2015-09-26 12:09:44 -05:00 |
|
Jürg Lehni
|
515d4ff93d
|
Make Line.isCollinear() / Point#isCollinear() more reliable.
|
2015-09-23 13:26:29 -04:00 |
|
Jürg Lehni
|
84bcc537e1
|
Simplify addCurveLineIntersections() and exclude end points.
|
2015-09-21 12:13:53 -04:00 |
|
Jürg Lehni
|
f47af12b0d
|
Shorten code statement.
|
2015-09-20 23:22:41 +02:00 |
|
Jürg Lehni
|
fb5f8c0115
|
Introduce GEOMETRIC_EPSILON, for isOrthogonal(), isCollinear() and overlap checks.
Relates to #777
|
2015-09-12 10:35:47 +02:00 |
|
Jürg Lehni
|
b52d343527
|
Use same notation for all injection scopes.
|
2015-09-06 16:48:23 +02:00 |
|
Jürg Lehni
|
cf813faa75
|
Remove all mention of points and square points as units.
And some other doc clean-ups.
|
2015-09-06 16:37:10 +02:00 |
|
Jürg Lehni
|
f91373efd8
|
Simplify Point#project()
|
2015-09-06 14:01:04 +02:00 |
|
Jürg Lehni
|
d656c96191
|
Adjust #isCollinear() tolerance.
|
2015-08-26 17:09:40 +02:00 |
|
Jürg Lehni
|
2c4dcb96c2
|
Streamline addOverlap() code a bit.
|
2015-08-26 11:26:55 +02:00 |
|
Jürg Lehni
|
157a60dee6
|
Fix spelling mistake.
|
2015-08-22 23:22:01 +02:00 |
|
sapics
|
687eca9677
|
fix
|
2015-08-21 15:35:30 +09:00 |
|
sapics
|
e15b23f8af
|
code minifier
|
2015-06-23 13:09:48 +09:00 |
|
Jürg Lehni
|
26cdbb6805
|
Fix typo: #isColinear() -> #isCollinear()
Keeping misspelled version around for a while.
|
2015-06-16 18:39:52 +02:00 |
|
Jürg Lehni
|
5812a70e08
|
Use EPSILON instead of TOLERANCE in Point#isColinear() and #isOrthogonal() (reverted from commit 5f0e545ba7 )
|
2015-06-16 18:25:50 +02:00 |
|
Jürg Lehni
|
b541088c6f
|
A whole lot of documentation clean-up.
|
2015-06-16 17:50:37 +02:00 |
|
Jürg Lehni
|
ba12eec7f5
|
Some documentation clean-up.
- Prefer @return over @returns
- Place @see at the end, before @example
|
2015-06-16 14:08:34 +02:00 |
|
Jan
|
60ddc68e56
|
Improve Line.getSignedDistance()
Improved code is shorter, faster, and should product results with higher precision.
|
2015-01-05 15:16:45 +01:00 |
|
Jürg Lehni
|
f0f98daf69
|
Apply @hkrish's fix in 3781aedb22 to Line.getSignedDistance as well.
Relates to #554
|
2015-01-04 00:53:56 +01:00 |
|
Jürg Lehni
|
5f0e545ba7
|
Use EPSILON instead of TOLERANCE in Point#isColinear() and #isOrthogonal()
|
2015-01-02 23:48:34 +01:00 |
|
Jürg Lehni
|
45c86a3035
|
Switch to suggested new implementation of Line.getSignedDistance() by @iconexperience
Closes #554
|
2015-01-02 16:17:19 +01:00 |
|
Jürg Lehni
|
3c31c0e482
|
Have SVGImport respect the current PaperScope's applyMatrix setting.
|
2015-01-02 14:19:17 +01:00 |
|
Jürg Lehni
|
a307bc4d14
|
Implement recursively parameter in Matrix#apply(), so matrices can be backed in recursively in children too.
|
2014-12-28 18:29:04 +01:00 |
|
Jürg Lehni
|
892c1a28bd
|
Some code clean-up.
|
2014-11-08 17:26:43 -08:00 |
|
Jürg Lehni
|
4ab6446e16
|
Handle horizontal lines properly in Line.getSignedDistance()
Closes #546.
|
2014-11-08 17:26:13 -08:00 |
|
Jürg Lehni
|
4eb06f0849
|
Implement Item#isInside(rect).
|
2014-10-20 16:51:28 +02:00 |
|
Jürg Lehni
|
62e5f3b3ac
|
Improve / streamline Matrix documentation a bit.
|
2014-10-20 16:47:41 +02:00 |
|
Jürg Lehni
|
54de02149b
|
Implement 'row' type component, for multiple components per row in palettes.
|
2014-10-02 16:05:56 +02:00 |
|
Jürg Lehni
|
47c225a782
|
Fix typo.
As reported by https://github.com/paperjs/paperjs.org/pull/7
|
2014-10-02 01:03:39 +02:00 |
|
Jürg Lehni
|
48cb05a181
|
Replace tabs with 4 white-spaces.
|
2014-08-16 19:24:54 +02:00 |
|
Jürg Lehni
|
04a0c995bc
|
Keep Math.acos() argument between -1 and 1.
Closes #482.
|
2014-07-25 21:01:58 +02:00 |
|
Jürg Lehni
|
d3d9e4bada
|
Improve some injection blocks.
|
2014-07-25 20:05:26 +02:00 |
|
Jürg Lehni
|
3093a8ec43
|
Introduce matrix.chain(mx) as a shortcut to Matrix.clone().concatenate(mx)
Simplifies quite a few lines of code.
|
2014-07-08 15:43:17 +02:00 |
|
Jürg Lehni
|
9d7ec13724
|
Update prepro.js to version that can evaluate whole expressions, and fix a newly introduced issue with it.
|
2014-05-14 15:14:03 +02:00 |
|
Jürg Lehni
|
846c806034
|
Implement non-scaling strokes through Style#strokeScaling.
Closes #418.
|
2014-05-13 13:38:51 +02:00 |
|
Jürg Lehni
|
8560a71312
|
Remove srcOffset and dstOffset parameters from Matrix#_transformCoordinates().
|
2014-05-08 13:54:05 +01:00 |
|
Jürg Lehni
|
f002c633a7
|
Remove trailing white spaces and ensure newlines at the end.
|
2014-04-06 13:48:03 +02:00 |
|
Jürg Lehni
|
59da291d54
|
Remove tabs in examples in favor of 4 spaces.
To remove all these annoying JSHint complaints.
|
2014-04-02 21:03:35 +02:00 |
|