Dear experts
I have a set of points f(x, y, s) that I want to do an interpolation, I know I can do this for f(x,y) by TGraph2D::Interpolation()
, is there a similar TGraph3D
to do it?
Dear experts
I have a set of points f(x, y, s) that I want to do an interpolation, I know I can do this for f(x,y) by TGraph2D::Interpolation()
, is there a similar TGraph3D
to do it?
TGraph2D takes (x, y, z) points as inputs. The TGraph2D interpolation is based on Delaunay triangles. It assume that for one (x, y) coordinate there only one z coordinate (ie: duplicate (x,y) points are forbidden). There is no ROOT class interpolating random (x, y, z) clouds of points.
Thank you, I meant a set points that were (x, y, s, f(x, y, s)). Can some class do interpolation for this? 3 input 1 output
Ah ok. may be the GL classes:
https://root.cern/doc/v622/glparametric_8C_source.html
https://root.cern/doc/master/gltf3_8C_source.html