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

Home » Public Forums » archive » Re: problem computing area
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: problem computing area [message #68134 is a reply to message #68129] Mon, 05 October 2009 05:05 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
aetherlux writes:

> I am trying to compute the area of this figure with
> IDLanROI:ComputeGeometry
>
> http://juan.gulo.org/area2.png
>
> but I obtain a negative area. I have checked it and there is not lines
> crossing over others. For the "horizontal" part of the figure the line
> begins and finishes in negative values of "y" (that is, the first and
> last point), but is it a problem?
>
> Ideas? I have been looking at it all the weekend but I don't have any
> clue about the possible problem.

The code you are using is incorrect. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Slow GUI on linux
Next Topic: Earn Free cash From DoEarn

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

Current Time: Fri Oct 10 15:26:12 PDT 2025

Total time taken to generate the page: 1.84149 seconds