For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

3D Interpolation

Bj's picture

Hi everybody,

I am really new with OpenCascade, and I would like to know if there is a function in a library that permits to interpolate some points in a 3D space. This function would create a surface from given points in the space, or give a mathematical expression of the surfacelike z = f(x,y). Does OpenCascade contain something in order to do that ?
I thank you very much in advance for your replies.


Sharjith Naramparambath's picture

Do you mean creating a surface from a point cloud? Have a look at the MFC Plate Sample. Click the "Surface from Points" tool button (second one). A file open dialog will pop up. Select any one of the sol1.dat or sol2.dat. These files contain points defined by 3 coordinates. The application will compute an approximate surface from the points. Hope this is what you are looking for.

Timo Roth's picture

You can look at GeomAPI_PointsToBSplineSurface if you want to interpolate a 2-dimensional array of 3D-points.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.