The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnEstimateZVal


Unit: SDL_rchart
Class: TContourPlot
Declaration: property OnEstimateZVal: TEstimateZValEvent;
TEstimateZValEvent = procedure (Sender: TObject; x, y: double; var z: double) of object;

The OnEstimateZVal event occurs during the redrawing process when the contour plot component needs to know the z-value at a particular position of the ground plane. The parameters x and y specify the position on the ground plane, the variable parameter z has to return the altitude at this position.

Example: This method is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): contplot



Last Update: 2011-Jul-22