![]() ![]() This file contains scattered three-dimensional data. The following example uses the data from the irreg_grid2.txt ASCII file. ![]() Volume = QGRID3(p, f, tet, START= 0, DIMENSION= 51, DELTA= 0.02) Create a volume with dimensions over the unit cube. Create a dataset of N points.į = p^ 2 - p*p + p^ 2 + 1 This example is similar to the previous one, however in this example we use a array of points. STARTĪ three element array specifying the start of the grid in X, Y, and Z. The value to be used for grid points that lie outside the convex hull of the scattered points. If an element is less than 2, the default value of 25 is used for that dimension. The dimensions must be greater than or equal to 2. ![]() If only one or two elements are supplied, the first element is used for the missing elements. DIMENSIONĪ three-element array specifying the grid dimensions in X, Y, and Z. If this keyword is not specified, it is set to create a grid of DIMENSION cells, enclosing the volume from START to. DELTAĪ scalar or three element array specifying the grid spacing in X, Y, and Z. Note: Any of the keywords may be set to a scalar if all elements are the same. TetrahedraĪ longword array containing the point indices of each tetrahedron, as created by QHULL. The function value at each location in the form of an n-element vector. One-dimensional vectors containing the X, Y, and Z point coordinates. This is a 3-by- n array containing the scattered points. Result is a 3-dimensional array of either single or double precision floating type, of the specified dimensions. Result = QGRID3( X, Y, Z, F, Tetrahedra ) Return Value Volume = QGRID3(x, y, z, f, tet, START= 0, DIMENSION= 51, $ Obtain a tetrahedra using the QHULL procedure. This example interpolates a data set measured on an irregular grid. Examplesįor more information on using QGRID3, please see Additional Examples. Note: QGRID3 accepts complex input but only utilizes the real part of any complex number. Its inputs are a triangulation of scattered data points in three dimensions, and the value of a dependent variable for each point. The QGRID3 function linearly interpolates the dependent variable values to points in a regularly sampled volume. ![]()
0 Comments
Leave a Reply. |