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 #77711 is a reply to message #77709] Thu, 22 September 2011 03:41 Go to previous messageGo to previous message
Xavi Llort is currently offline  Xavi Llort
Messages: 15
Registered: September 2006
Junior Member
Thanks for the answer,

But I also coded an analytical solution. The point is that I need a
really fast way to obtain all the points inside a polygon rather than
testing one by one.
I have to calculate this for ~1.E6 different polygons in less than 4
minutes and all analytical solutions do not fulfill the benchmark.
POLYFILLV does, but giving a wrong answer!!

I ended in this simple polygon (a triangle) that instead of retrieving
10 points is only retrieving 9 (clearly seen in the plot). I do not
know if it is really an IDL bug or I'm doing something wrong...
[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 17:03:25 PST 2025

Total time taken to generate the page: 2.08038 seconds