Newsgroups: comp.lang.idl-pvwave
Followup-To: comp.lang.idl-pvwave
From: "Weihua FANG" <weihua.f...@gmail.com>
Date: 13 Feb 2007 22:07:54 -0800
Local: Wed, Feb 14 2007 1:07 am
Subject: Re: polygon intersection routine in IDL
Hi, dear mati,
I tested your function by 2 samples. One returned the overlap polygon thank you in advance. pro test_polygon_overlap shape1 = fltarr(2,4) shape2[0,0] = 0.5 shape3 = shape_overlap (shape1, shape2, exists = exs) print, exs shape1 = fltarr(2,17) shape2 = fltarr(2,6) xrange = [116.06185 ,116.72748] plot, shape1[0,*], shape1[1,*], xrange = xrange , yrange = yrange shape3= shape_overlap (shape1, shape2, exists = exs) print, exs end On 2月14日, 下午12时00分, "Weihua FANG" <weihua.f...@gmail.com> wrote: > Dear Mati,
> I appreciate your contribution and your prompt reply. > I've downloaded your lib and gonna have a try ... > Weihua > On 2月14日, 上午11时47分, mme...@cars3.uchicago.edu wrote: > > In article <1171422915.745198.302...@m58g2000cwm.googlegroups.com>, "Weihua FANG" <weihua.f...@gmail.com> writes:>hi, all, > > >I need a routine to get the exact intersection, to be returned as a > > >Is there anybody knows such a routine in IDL? > > >thanks a lot. > > There is a routine like this in my library. You can find the library > > Mati Meron | "When you argue with a fool, > - 显示引用的文字 - You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||