Page 1 of 1

interpolating on TIsoSurfaceSeries

Posted: Fri Mar 11, 2022 7:52 pm
by 16493054
How to get interpolated surface values on a 3D TIsoSurfaceseries? We ar aware of the function TCustom3DGridSeries.GetXZValue GetXZValue(X, Z: Integer), but this function uses series coordinates and return Z values only at exact coordinates X and Y.
We have arbitrary real world coordinate values ( already scaled on X and Z axis) and we want interpolated value on the surface, see figure below, the grid on the bottom wall was drawn by our application.
interpolar_tisosurface.png
interpolar_tisosurface.png (101.56 KiB) Viewed 4438 times

Re: interpolating on TIsoSurfaceSeries

Posted: Mon Mar 14, 2022 2:49 pm
by Marc
Hello,

I can't think of a straightforward way unless you were to go into the IsoSurface code itself. If you are a sourcecode customer you have that possibility. IsoSurface checks the four point corners of each cell and runs a calculation for the 'iso-lines' that cut the cell. It may be possible to extract the information there. See the protected DrawCell method.

Regards,
Marc Meumann