public class Griddata
extends java.lang.Object
Constructor and Description |
---|
Griddata() |
Modifier and Type | Method and Description |
---|---|
static QDataSet |
griddata(QDataSet xx,
QDataSet yy,
QDataSet buck) |
static QDataSet |
griddata(QDataSet triangles,
QDataSet itriangle,
QDataSet weights,
QDataSet zbuck)
Perform the interpolation for arbitrary sets of nvert points.
|
static QDataSet |
triangulate(QDataSet buck)
return a rank 2 dataset [n,nvert] with the "triangles" connecting the buckshot data.
|
static QDataSet |
triLocate(QDataSet buck,
QDataSet tri,
QDataSet grid)
for each element of grid, identify the matching triangle.
|
static QDataSet |
weights(QDataSet buck,
QDataSet tri,
QDataSet grid,
QDataSet itri)
return the weights for each point of the grid.
|
public static QDataSet griddata(QDataSet triangles, QDataSet itriangle, QDataSet weights, QDataSet zbuck)
triangles
- triangles mesh, presently tri[n,3] but may soon be tri[n,4] as well.itriangle
- rank n mesh identifying the triangle to useweights
- rank n+1 mesh (e.g. weights[m,3]) with a weight for each triangle node.zbuck
- dependent Z values for each point.public static QDataSet triangulate(QDataSet buck)
buck
- dataset[m,nvert-1].public static QDataSet triLocate(QDataSet buck, QDataSet tri, QDataSet grid)
buck
- the data (e.g. buck[o,nfree])tri
- the triangulation (e.g. tri[n,free+1])grid
- the values to locate (e.g. grid[m,nfree])public static QDataSet weights(QDataSet buck, QDataSet tri, QDataSet grid, QDataSet itri)
buck
- the data (e.g. buck[o,nfree])tri
- the triangulation (e.g. tri[n,nfree+1])grid
- rank 2 dataset (e.g. grid[m,nfree])itri
- the triangle to use for each point of grid. (e.g. itri[m])