Does the ContourDataset constructor ContourDataset(string, Point3d[], int, int) for regular grid data do anything else other than set the x, y, and z data arrays? I was wondering because I had set up a ContourPlot and drawn it OK; then changed the dataset values using SetDataPoint, and then used InitContourPlot to update the contour plot (using UpdateDraw). However the contours were not updated, although the dataset values were. Should I always use the constructor to modify the ContourDataset values?
The ContourDataset constructor does the actual triangularization of the data points and creates a polysurface that is displayed by the contour plot routines. Changing the underlying data points of the dataset does not force a polysurface to be create. So you would have to use the ContourDataset constructor each time, and connect the new ContourDataset to the ContourPlot using the ContourPlot.SetDataset(...) method.