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

Home » Public Forums » archive » Re: Bug in IDLgrPolygon ?
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: Bug in IDLgrPolygon ? [message #33185 is a reply to message #33182] Thu, 12 December 2002 18:36 Go to previous messageGo to previous message
Thomas Gutzler is currently offline  Thomas Gutzler
Messages: 44
Registered: November 2002
Member
Karl Schultz wrote:
>
> What you want to do is replace:
>
> [4, 4, 5, 7, 6]] ; vertices 5687
>
> with:
>
> [0, 0, 0, 0, 0]] ; vertices 5687
>
> If you try:
>
> [0, 4, 5, 7, 6]] ; vertices 5687
>
> then IDL skips over the 0 and thinks that the 4 is the vertex count for the
> next polygon.

Yeah, I should have noticed this. doh!

> -1 is the other special value which
> means "stop here, even if there is more data after me" and really only makes
> sense to put in a list after a polygon definition.

Hm, this was my last idea. Just move the 5 elements describing the
polygon I want not be shown to the end and put a -1 in front. But I
thought thats bad programming style, isn't it ?

Thomas
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Clean your PC properly - wk u10 i32dq3 87idq2iw71
Next Topic: Re: Serial I/O

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

Current Time: Wed Oct 08 16:52:32 PDT 2025

Total time taken to generate the page: 0.00372 seconds