ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Is there a robust way to find the first (or last intersection) of path p with path q?
@ 2020-04-05 16:03 Gerben Wierda
  0 siblings, 0 replies; only message in thread
From: Gerben Wierda @ 2020-04-05 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-05 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05 16:03 Is there a robust way to find the first (or last intersection) of path p with path q? Gerben Wierda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).