Re: Still getting trouble with ROI's [message #37882 is a reply to message #37881] |
Tue, 03 February 2004 05:54   |
btt
Messages: 345 Registered: December 2000
|
Senior Member |
|
|
David Fanning wrote:
> Bruce Bowler writes:
>
>
>> Based on the fact that xy is the result of a "where", I'd assume that the
>> single number returned is the "1 dimensional index that would result if
>> the 2 dimensional array were addressed at X,Y".
>>
>
> I'm a big Janet Jackson fan (or at least NOW I am!),
> but I'm pretty sure this won't work. The problem is
> that the WHERE function (or, actually, POLYFILLV in
> this case) doesn't return *ordered* indices. So you
> can't really use the indices to "draw" anything.
>
> But even if you could, I think Nuno needs the outline,
> not the indices inside the outline. He's just using
> the wrong tool for the job, I think.
>
Hi David,
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?
Ben
|
|
|