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

Home » Public Forums » archive » CONTOUR problem
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 Problem [message #39072 is a reply to message #7115] Mon, 26 April 2004 06:22 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Christopher Lee wrote:
> On Fri, 23 Apr 2004 17:11:11 -0500, Jeff Patrick wrote:
>
>
>> I keep getting the following error in my code and I can't figure out why.
>> Any help would be appreciated.
>>
>> % Internal error: Triangulation is invalid.
>>

>
> There are identical points in the data, triangulate works (in a fluffy,
> wordy kind of way) by drawing circles which have the points on the
> circumference. If the points are identical, it can't work. (This would be
> my guess).
>
> There are colinear points which otherwise satisfy the Delauney
> Triangulation algorithm, (good luck finding these). The triangle will be
> 'flat', i.e not a triangle. If this is going to happen, it would most
> likely happen on the first three points, which are needed to bootstrap the
> algorithm.
>
Hello,
The GRID_INPUT (IDL 5.5+) can be used to fish out the duplicate data
triplets before the call to TRIANGULATE. See the DUPLICATES keywprd to
GRID_INPUT.

Ben
[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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Contour Problem
Next Topic: TIMEGEN bug (not the pre-6.4 bug that Fanning describes)

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

Current Time: Wed Oct 08 18:56:09 PDT 2025

Total time taken to generate the page: 0.00418 seconds