Dear MetaPost users,<div><br></div><div> I'm having troubles with the buildcycle macro. I tried to look around, but found nothing helpful. It's just a simple source where I'd like the intersection of the two cycles to be filled. It seems nothing is filled, but actually (you can see it if you comment the "draw p; draw q;" line), a very tiny portion of the figure seems to be returned by "buildcycle".</div>
<div>Any help would be much appreciated!</div><div><br></div><div>GalTrack</div><div><br></div><div>##</div><div>beginfig(8);</div><div>numeric a,b,c,d;</div><div>a=.5in; b=.7in; c=.3in; d=.5in;</div><div>z1=-z3=(a,0); z2=-z4=(0,b);</div>
<div>path p,q;</div><div>p=z1..z2..z3..z4..cycle;</div><div>q=p shifted (-1cm,0);</div><div>draw p;</div><div>draw q;</div><div>fill buildcycle(p,q) withcolor black;</div><div>endfig;</div><div>end</div>