I have managed with that using the sample code "11_Plate" but actually I am not aware of the parameters that will help to minimize the curvature as much as possible. any help will be appreciated.
A snap of the code I have wrote:
.
.
.
TColgp_SequenceOfXYZ
.
myPlate.SolveTI(2, 1.);// resolution
.
Handle(Geom_Plane) myPlane = new Geom_Plane(Or, Norm);// Plane of normal Oz
Handle(GeomPlate_Surface) myPlateSurf = new GeomPlate_Surface( myPlane, myPlate);//plate surface
GeomPlate_MakeApprox aMKS(myPlateSurf, Precision::Approximation(), 100, 7,0.001, 0);//bspline surface
Handle_Geom_BSplineSurface myGround = aMKS.Surface();
.
.
.