+ //
+ // Inspect the new faces to provide sameparameter
+ // if it is necessary
+ if (IsDone())
+ {
+ Standard_Real SameParTol = Precision::Confusion();
+ Standard_Integer aNbSurfaces, iF;
+ TopTools_ListIteratorOfListOfShape aIt;
+ //
+ aNbSurfaces=myDS->NbSurfaces();
+
+ for (iF=1; iF<=aNbSurfaces; ++iF) {
+ const TopTools_ListOfShape& aLF=myCoup->NewFaces(iF);
+ aIt.Initialize(aLF);
+ for (; aIt.More(); aIt.Next()) {
+ const TopoDS_Shape& aF=aIt.Value();
+ BRepLib::SameParameter(aF, SameParTol, Standard_True);
+ ShapeFix::SameParameter(aF, Standard_False, SameParTol);
+ }
+ }
+ }