{
// Find a surface through the wire
- BRepLib_FindSurface FS(W, -1, OnlyPlane, /*OnlyClosed=*/Standard_True);
+ BRepLib_FindSurface FS(W, -1, OnlyPlane, Standard_True);
if (!FS.Found()) {
myError = BRepLib_NotPlanar;
return;
B.MakeFace(TopoDS::Face(myShape),FS.Surface(),FS.Location(),tol);
Add(W);
-
+ //
BRepLib::UpdateTolerances(myShape);
-
+ //
+ BRepLib::SameParameter(myShape, tol, Standard_True);
+ //
CheckInside();
}