(pt1: Point, pt2: Point)
| 142 | } |
| 143 | |
| 144 | export function distanceBetweenPoints(pt1: Point, pt2: Point) { |
| 145 | return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2)); |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Shortest distance between angles, in either direction. |
no outgoing calls
no test coverage detected