Good Morning every body,
I've got a question which is I'm sure ridiculous, because the answere is probably basic... but I'm not a specialist of CAD developement...
Here is my code to design a shape (TopoDS_Shape) from BSplines assembled with the method add from sewed object, and display in my AIS context:
B[loop] = new GeomFill_SimpleBound(SPLAdaptor,Precision::Approximation(),Precision::Angular());
GeomFill_ConstrainedFilling aConstrainedFilling(MaxDeg, MaxSeg); aConstrainedFilling.Init(B[num+1],B[num+2],B[num+3],B[num+4],NoCheck);
aBSplineSurface[loop] = aConstrainedFilling.Surface();
BRepOffsetAPI_Sewing aMethod; TopoDS_Shape aShape = BRepBuilderAPI_MakeFace(aBSplineSurface[loop]); aMethod.Add(aShape);
TopoDS_Shape sewedShape; aMethod.Perform(); sewedShape = aMethod.SewedShape(); wing = new AIS_Shape(sewedShape);
This code runs very well ! Now, I want, in an other method, retreive the coordinates of some points of the sewedShape TopoDS_Shape object. How can I do ??? In fact, I can give two parameters (u,v) to retreive a point (gp_Pnt) or give two coordinates (x,y), and I want to retreive the z.
thank's you very much for your help,