comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Strange behavior of POLYFILL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Strange behavior of POLYFILL [message #77731 is a reply to message #77711] Wed, 21 September 2011 06:21 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Xavi Llort writes:

> After hours fighting against POLYFILLV, I found a strange
> behavior that I cannot understand...
>
> Here there is a small code searching the points inside a triangle. Why
> there is a point that clearly is inside the triangle and not retrieved
> by PolyfillV (see plot)? Does anyone have a solution?

I don't have time this morning to look at this very
carefully, but I will say that PolyFillV is a *graphic*
solution, not an *analytical* solution. It seems to
me you are looking for an analytical solution. If so,
there are better ways. IDLanROI is one and here is
an article that describes another:

http://www.idlcoyote.com/tips/point_in_polygon.html

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.1 PostScript Output on a Sheet of Paper
Next Topic: Best way to share 'enum' between various functions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 22:11:50 PST 2025

Total time taken to generate the page: 0.00198 seconds