[NTG-context] Is there a robust way to find the first (or last intersection) of path p with path q?
Gerben Wierda
gerben.wierda at rna.nl
Sun Apr 5 18:03:16 CEST 2020
Intersecting path p and q will give you more or less randomly (actually, there is an algorithm, but not a very useful one for METAPOST) an intersection (time on p, time on q)
I am trying to find out if anybody as already created a macro that gives you the intersection with the smallest (or largest) time on p. Probably requires finding all the intersections and then returning either the point on p with minimum (or maximum) t.
Before writing myself, maybe someone already has this, in which case thanks in advance.
G
More information about the ntg-context
mailing list