[metapost] intersectiontimes peculiarity

Troy Henderson thenders at gmail.com
Wed Apr 24 14:56:15 CEST 2013

> How can I redefine one of the paths and call intersect_curves again?  For
> example, the following errors due to inconsistent equations.

It seems that changing the line in the macro intersect_curves that reads

p1[incr l_]=p_1[k_]+i_; p2[l_]=p_2[k_]+j_;


p1[incr l_]:=p_1[k_]+i_; p2[l_]:=p_2[k_]+j_;

(that is, changing both = to := ) fixed that problem of redefining p2.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20130424/ca058c27/attachment.html>

More information about the metapost mailing list