()
| 2840 | stream.lineEnd(); |
| 2841 | } |
| 2842 | function polygonLineStart() { |
| 2843 | var λ00, φ00, x00, y00, a00, b00, c00; |
| 2844 | lineStart(); |
| 2845 | resample.point = function(λ, φ) { |
| 2846 | linePoint(λ00 = λ, φ00 = φ), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0; |
| 2847 | resample.point = linePoint; |
| 2848 | }; |
| 2849 | resample.lineEnd = function() { |
| 2850 | resampleLineTo(x0, y0, λ0, a0, b0, c0, x00, y00, λ00, a00, b00, c00, maxDepth, stream); |
| 2851 | resample.lineEnd = lineEnd; |
| 2852 | lineEnd(); |
| 2853 | }; |
| 2854 | } |
| 2855 | return resample; |
| 2856 | } |
| 2857 | function resampleLineTo(x0, y0, λ0, a0, b0, c0, x1, y1, λ1, a1, b1, c1, depth, stream) { |
nothing calls this directly
no test coverage detected