Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>mesh_open()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MESH_OPEN()
   Sets the parameters for the 3-D mesh drawing function.

   Syntax
         nTime = MESH_OPEN(nXCol,nYCol,nZCol,nXSegments,nYSegments,nRadius,
                           nCalc)

   Arguments
         nXCol       Sets the data column for the X axis.
         nYCol       Sets the data column for the Y axis.
         nZCol       Sets the data column for the Z axis.
         nXSegments  Sets the number of segments calculated for each X value.
         nYSegments  Sets the number of segments calculated for each Y value.
         nRadius     Determines the area of influence for averaging in terms
                     of percentage of the graph's columns.
         nCalc       Determines whether the mesh will be calculated. (0 - not
                     calculated, 1 - calculated)

   Returns
         nTime       Time it took to calculate the mesh.

   Description
         MESH_OPEN() sets the parameters necessary to draw 3-D mesh graphs
         with MESH_DRAW(). It has seven arguments. nXCol, nYCol, and nZCol
         define which columns of data will be used as X, Y, and Z axes.

         nXSegments and nYSegments determine how finely divided the mesh
         will be. For example, if nXSegments is 10 there will be 10 points of
         calculation in the Y direction (resulting in 9 segments) for each X
         point calculated. If nYSegments is 5 there will be 5 points of
         calculation in the X direction for each Y value calculated.

         nRadius is the radius for the area of influence. It is in terms of
         the percentage of the distance between points of calculation
         in the X direction. The height of each grid point is the weighted
         average of heights of surrounding grid points within the area of
         influence.

See Also: MESH_CLOSE() MESH_DRAW()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson