Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 ContourDataset triangularisation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

emcc

15 Posts

Posted - 06 Dec 2006 :  05:11:43  Show Profile  Reply with Quote
What are the limitations on the triangularisation method used in the ContourDataset constuctor for irregular data? I tried it on an almost regular data set - parallel lines of equally spaced data, but points on adjacent lines offset, and the constructor didnt return - had to abort the program. There were only 1500 points.
Is there any way to terminate the constructor in cases like these?

quinncurtis

1164 Posts

Posted - 06 Dec 2006 :  09:03:22  Show Profile  Reply with Quote
We are not aware of any limitations in the algorithm. We made a simple modification to our ContourPlots.ContourFillPlot example program to use an irregularly spaced grid of 100,000 points, and it finished after about 20 seconds on a relatively slow 1.5GHz Celeron.

void CreateRandomGridPolysurface()
{
  int nrows=317, ncols=317;
  .
  .
  .


There is no way to break out of the triangularization routine. You should try and reduce your number of data points to see if the problem goes away. If that doesn't work, there may be something else wrong with the way you are initializing the data.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07