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

Home » Public Forums » archive » contour fill
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: contour fill [message #21446 is a reply to message #21378] Sat, 26 August 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
After some real-world experimentation, it seems that these are the
correct statements:

> c0x = (pxy(0,c0off) - x(0)) / dx + 1 ;; Convert to scan cols & lines
> c0y = (pxy(1,c0off) - y(0)) / dy + 1

Note the "+ 1"'s. I believe there is a goof in the documentation for
the POLYFILLV function which leads to an off-by-one discrepancy. Or
else I don't understand it...

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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
Previous Topic: Re: IDL EPA Exam Test Question
Next Topic: Re: reading dem

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

Current Time: Sun Oct 12 05:04:43 PDT 2025

Total time taken to generate the page: 0.56032 seconds