()
| 11229 | } |
| 11230 | |
| 11231 | function polygonEnd() { |
| 11232 | var startInside = polygonInside(), |
| 11233 | cleanInside = clean && startInside, |
| 11234 | visible = (segments = merge(segments)).length; |
| 11235 | if (cleanInside || visible) { |
| 11236 | stream.polygonStart(); |
| 11237 | if (cleanInside) { |
| 11238 | stream.lineStart(); |
| 11239 | interpolate(null, null, 1, stream); |
| 11240 | stream.lineEnd(); |
| 11241 | } |
| 11242 | if (visible) { |
| 11243 | clipRejoin(segments, compareIntersection, startInside, interpolate, stream); |
| 11244 | } |
| 11245 | stream.polygonEnd(); |
| 11246 | } |
| 11247 | activeStream = stream, segments = polygon = ring = null; |
| 11248 | } |
| 11249 | |
| 11250 | function lineStart() { |
| 11251 | clipStream.point = linePoint; |
nothing calls this directly
no test coverage detected