Check if two polygons overlap: Difference between revisions
m
→{{header|Julia}}: remove comments
(julia example) |
m (→{{header|Julia}}: remove comments) |
||
Line 294:
println("Polygons P1 and P2 intersect at ", npoints(Pint), " points.")
plot(P1, color="blue", alpha=0.2)
plot!(P2, color="red", alpha=0.2)
plot!(Pint, color="yellow", alpha=0.6)
</syntaxhighlight>{{out}}
<pre>
Line 306:
[[File:Poly intersect.svg|thumb|center]]
=={{header|Phix}}==
|