Let say I have three base points (P1, P2, P3) on surface. Every base point defined by X1, X2, X3 and
Y1, Y2, Y3 coordinates. Every base point has one associated value Vn (V1, V2, V3). I have to calculate
approximated value V4 for point P4 defined by coordinates X4 and Y4. It's just a simplification of the
In deed, I need a fast algorithm that allow me to calculate value for any point on the surface where
number of base points may be different, let say N.
TSFPoint = record
TSFPoints = array of TSFPoint;
function GetValueFor(X,Y: Integer; Points: TSFPoints): Integer;