( a, b, delta )
| 57 | } |
| 58 | |
| 59 | static calcPointAlongLine( a, b, delta ){ |
| 60 | const pt = {}; |
| 61 | pt.x = (a.x - b.x)* delta + b.x; |
| 62 | pt.y = (a.y - b.y) * delta + b.y; |
| 63 | |
| 64 | return pt; |
| 65 | } |
| 66 | |
| 67 | static calcDistanceBetweenTwoPoints( a, b ){ |
| 68 | const dx = a.x - b.x; |
no outgoing calls
no test coverage detected