Is it possible to define a point when I have two paths such as:
beginfig(1); u := 1cm; path p; p0 := (1u,3u)--(2u,2u); p1 := (2u,0)--(3u,2u); for i=p0,p1: draw i; endfor; endfig; end
so that if continuing
p0 to the
p1, the wanted point would be there.
I've tried the
dir* commands, but all the examples I've found seem to either be overly complex for my understanding, or use them in curve definitions.