"Severin Obertuefer"
thanks for your answer
it works, but only with a "normal" circle. if the circle is xyscaled the same thing seems to bee much more complicate... here is the mp-code once again:
beginfig(2); path c; pair A, B; c := fullcircle scaled 2 cm xyscaled(1.3,.8); A := (origin--(3cm,2cm)) intersectionpoint subpath (0,2) of c; B := (origin--(-5cm,1cm)) intersectionpoint subpath (2,4) of c; draw c; draw origin--B; draw origin--A; endfig;
how can i clip the part of the path c between A and B in this case??
Isn't it easier to use arctime and the specify A and B as lengths instead of points? For example: A := 1cm; B := 1cm; draw subpath (arctime A of c, arctime (arclength c) - B of c) of c; The code is not tested. Regards, -- Emil Hedevang Lohse http://home.imf.au.dk/emil/ Alle spørgsmål er lige dumme. Og spørgsmålet "Kan ænder flyve?" er ikke dumt.