(points, width, height)
| 464 | } |
| 465 | |
| 466 | scalePoints(points, width, height) { |
| 467 | return points.map(p => this.scalePoint(p, width, height)); |
| 468 | } |
| 469 | |
| 470 | getContourCenter(points) { |
| 471 | const sum = points.reduce((acc, p) => [acc[0] + p[0], acc[1] + p[1]], [0, 0]); |
no test coverage detected