[metapost] Problem with quartercircle

Taco Hoekwater taco at elvenkind.com
Thu Feb 16 09:04:42 CET 2006

Pétiard François wrote:
> Why qc and qe are cut, and not qd and qf ?

The result of intersectiontimes is an approximation that is
not always 'spot on' due to accuracy limitations. Just look
at the screen output of this snippet:

path qd;
qd:=quartercircle scaled(5cm);
z1= qd intersectionpoint ((0,0)--(4cm,4cm));
z2= point (xpart (qd intersectiontimes ((0,0)--(4cm,4cm)))) of qd;
show z1;
show z2;

Cheers, Taco

More information about the metapost mailing list