From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11587 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: MetaPost/Fun question Date: Sat, 22 Mar 2003 22:32:56 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <12815828760.20030322223256@iol.it> References: <5.1.0.14.1.20030322222005.026b1b68@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048368980 17835 80.91.224.249 (22 Mar 2003 21:36:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 21:36:20 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Mar 22 22:36:17 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wqf3-0004d2-00 for ; Sat, 22 Mar 2003 22:36:17 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 524A410B36; Sat, 22 Mar 2003 22:36:24 +0100 (MET) Original-Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by ref.ntg.nl (Postfix) with ESMTP id 97C4210AE8 for ; Sat, 22 Mar 2003 22:33:33 +0100 (MET) Original-Received: from [151.29.130.189] (151.29.130.189) by smtp3.libero.it (6.7.015) id 3E44E9670106A1FC for ntg-context@ntg.nl; Sat, 22 Mar 2003 22:33:34 +0100 X-Mailer: The Bat! (v1.63 Beta/7) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20030322222005.026b1b68@server-1> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11587 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11587 Saturday, March 22, 2003 Hans Hagen wrote: >>I would like to know if it is possible in MetaPost (in particular >>MetaFun) to get all the possible intersection points of the paths, [snip] >>Anything like this? HH> not that i know, but assuming that those path have some distance, i can HH> imagine dividing a path in parts and determining the intersectionpoints iof HH> the pieces; HH> delta := .25 ; HH> for i=0 step delta upto length(p)-delta : HH> if intersection_found(1,subpath(i,i+.1) of p) : HH> store point HH> fi ; HH> endfor ; I'll see if I can make something of this ... (wow, looks like I'm gonna need to learn MetaPost too ...) -- Giuseppe "Oblomov" Bilotta