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

Home » Public Forums » archive » Re: Line index
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: Line index [message #5957] Fri, 22 March 1996 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
pit@asterix.kis.uni-freiburg.de (Peter Suetterlin) wrote:
>
> In article <31499FB9.2F6D@dlr.de>,
> Hermann Mannstein <H.Mannstein@dlr.de> writes:
>
>> is there a robust function which returns the indices within an image
>> (like the where function) belonging to a line defined by two or more
>> points.
>
> for shure there is, even built-in IDL:
> Index=polyfillv(xx,yy,xsize,ysize)
> Read the manpage for further reference.
>

According to the "manpage", POLLYFILLV() expects at least 3
points so it would never work for a simple line. Also, it
connects each successive line and the first with the last,
to make a polygon, and then returns the indices of the
points within this polygon.

You wouldn't be getting the indices of the points on the line(s),
but of the points within the polygon defined by the points.

Dave Foster
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Fun Stuff: A widget map browser
Next Topic: Re: [Q]IDL: Using WHERE.

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

Current Time: Wed Oct 08 13:31:07 PDT 2025

Total time taken to generate the page: 0.00593 seconds