(x, y)
| 133579 | centroidStream.point = centroidPointFirstLine; |
| 133580 | } |
| 133581 | function centroidPointFirstLine(x, y) { |
| 133582 | centroidStream.point = centroidPointLine; |
| 133583 | centroidPoint(x0 = x, y0 = y); |
| 133584 | } |
| 133585 | function centroidPointLine(x, y) { |
| 133586 | var dx = x - x0, dy = y - y0, z = (0, _mathJs.sqrt)(dx * dx + dy * dy); |
| 133587 | X1 += z * (x0 + x) / 2; |
nothing calls this directly
no test coverage detected