math - 3D Scattered Interpolation in C# -


i have been looking c# (c or c++ equivalents fine too) equivalent of mathlabs triscatteredinterp or scatteredinterpolant methods.

what have matrix of x, y, z points base data. want use create interpolant can send new x,y values , z-value back. example, lets assume have following data:

0 2,27869819312637 853,922374575371

1,98605233685976 2,06708520671126 837,753747324253

3,90229069472608 1,88752766631698 823,029331096166

5,75551273267257 1,73306236324839 809,260707800665

7,54873798463369 1,59817317688994 796,049456606332

9,28197384246315 1,47842437187912 783,061777856689

10,9534957278425 1,37052388894339 770,064642137392

12,5656687239417 1,27364051243946 757,204621862504

14,1251442365748 1,18794371439132 744,781009547588

15,642287566849 1,11385507647315 733,134144366184

i want send x = 1.7, y = 2.2 , z position.

i using math.net, don't see how can me points in 3-dimensions. ideas?

note data set doesn't provide grid, because points form chain-like structure rather net.

if you'll have 3d points, projections xy plane scattered enough, can build triangulation (of kind, e.g. delaunay one). given x,y coordinates find proper triangle , find interpolated z-value.

enter image description here


Comments

Popular posts from this blog

ios - UITEXTFIELD InputView Uipicker not working in swift -

Hatching array of circles in AutoCAD using c# -