BSpline Fit tolerances

I have a 2D Dataset (surface) that I am planning to define using a 2D BSpline (GeomAPI_PointsToBSplineSurface).

Is there a way to estimate and control how much deviation from original data would be, if the points are converted to and back from a BSpline.

The problem is that I have a really small allowable tolerance in defining a surface and wanted to evaluate whether to approximate the surface using a BSpline

Pawel's picture

Hi Suneet,

in the GeomAPI_PointsToBSplineSurface constructor you have a parameter

const Standard_Real Tol3D

that lets you control the deviations. The problem is this toleration is checked only at the given (for approximation) points. Maybe you could try

GeomConvert_ApproxSurface

I haven't tried that but it look promising.

Pawel