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) #!jl
plot!(P2, color="red", alpha=0.2) #!jl
plot!(Pint, color="yellow", alpha=0.6) #!jl
</syntaxhighlight>{{out}}
<pre>
Line 306:
 
[[File:Poly intersect.svg|thumb|center]]
 
 
 
 
 
=={{header|Phix}}==
4,102

edits