interpolating on TIsoSurfaceSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Posts: 1
Joined: Wed Feb 23, 2022 12:00 am

interpolating on TIsoSurfaceSeries

Post by CarlosMLeite » Fri Mar 11, 2022 7:52 pm

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 (101.56 KiB) Viewed 1801 times

Site Admin
Site Admin
Posts: 1086
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona

Re: interpolating on TIsoSurfaceSeries

Post by Marc » Mon Mar 14, 2022 2:49 pm


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.

Marc Meumann
Steema Support

Post Reply