I have seen an interesting method of ShapeCustom_Surface, but I have found no call to it under "ros" and it was never mentioned in the forum.
Does anyone use it?
Handle_Geom_Surface ConvertToAnalytical (const Standard_Real tol, const Standard_Boolean substitute)
Tries to convert the Surface to an Analytic form
Returns the result
Works only if the Surface is BSpline or Bezier.
Else, or in case of failure, returns a Null Handle
It works by analysing the case which can apply, creating the
corresponding analytic surface, then checking coincidence
Warning: Parameter laws are not kept, hence PCurves should be redone