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

Home » Public Forums » archive » Re: Still getting trouble with ROI's
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: Still getting trouble with ROI's [message #37881] Tue, 03 February 2004 06:33 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Tupper writes:

> Not to beat a dead horse (I agree that Nunio is pushing a rope uphill),
> but...
>
> Even if POLYFILLV returns the subscript indices out of order, then he
> could still work with them using the built-in ARRAY_INDICES and your
> FIND_BOUNDARY routines to get the outline.
>
> Am I missing something?

Well, I don't think ARRAY_INDICES is going to help
much (when did RSI sneak *that* program into IDL!),
but FIND_BOUNDARY is what he wants, for sure. It's
just that it is such an inelegant extra step. He
has already collected the points he wants, the
points that were used in POLYFILLV to get the
indices that were returned. He just needs to
intercept the program at the appropriate place.

My only point is that it is simpler, less time
consuming, *and* you learn more about what you
are doing if you just build the functionality
for yourself than if you try to push the
square peg of CW_DEFOI into this round hole. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Using CALL_EXTERNAL with C++ Code
Next Topic: Virtual Machine Crashes :-(

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

Current Time: Wed Oct 08 16:57:04 PDT 2025

Total time taken to generate the page: 0.00476 seconds