const TopTools_ListOfShape& aLSGen = anUnify.Generated(aSS);
TopTools_ListIteratorOfListOfShape aIt(aLSGen);
for (; aIt.More(); aIt.Next()) {
- const TopoDS_Shape& aShape = aIt.Value();
- if (!aShape.IsNull() && !aSS.IsSame(aShape)) {
- myMapGenerated.Bind(aSS, aShape);
+ const TopoDS_Shape& aSU = aIt.Value();
+ if (!aSU.IsNull() && !aSS.IsSame(aSU)) {
+ myMapGenerated.Bind(aSS, aSU);
bRemoved = Standard_True;
}
}
const TopTools_ListOfShape& aLSMod = anUnify.Modified(aSS);
for (aIt.Init(aLSMod); aIt.More(); aIt.Next()) {
- const TopoDS_Shape& aShape = aIt.Value();
- if (!aShape.IsNull() && !aSS.IsSame(aShape)) {
- myMapGenerated.Bind(aSS, aShape);
+ const TopoDS_Shape& aSU = aIt.Value();
+ if (!aSU.IsNull() && !aSS.IsSame(aSU)) {
+ myMapGenerated.Bind(aSS, aSU);
bRemoved = Standard_True;
}
}
//
if (aNb == aLFUnique.Extent()) {
// no faces to remove
- TopoDS_Iterator aItS(aCB);
+ aItS.Initialize(aCB);
for (; aItS.More(); aItS.Next()) {
theLSNew.Append(aItS.Value());
}
if (aBS.ErrorStatus() || aBS.Areas().Extent() != 1) {
myWarningStatus |= RemovalOfIBForSolidsFailed;
//
- TopoDS_Iterator aItS(aCB);
+ aItS.Initialize(aCB);
for (; aItS.More(); aItS.Next()) {
theLSNew.Append(aItS.Value());
}
// tolerance of intersecting edges
Standard_Real aTolCmp = Max(aTolCurE, aTolE);
//
- Standard_Integer k, aNbIntPnt = aGInter.NbPoints();
+ Standard_Integer aNbIntPnt = aGInter.NbPoints();
for (k = 1; k <= aNbIntPnt; ++k) {
const IntRes2d_IntersectionPoint& aP2DInt = aGInter.Point(k);
const gp_Pnt2d& aP2D = aP2DInt.Value();
aBB.MakeCompound(aRes);
TopTools_ListIteratorOfListOfShape aIt(aLS);
for (; aIt.More(); aIt.Next()) {
- const TopoDS_Shape& aShape = aIt.Value();
- aBB.Add(aRes, aShape);
+ const TopoDS_Shape& aCurrentShape = aIt.Value();
+ aBB.Add(aRes, aCurrentShape);
}
DBRep::Set(a[1], aRes);
}
aBB.MakeCompound(aRes);
TopTools_ListIteratorOfListOfShape aIt(aLS);
for (; aIt.More(); aIt.Next()) {
- const TopoDS_Shape& aShape = aIt.Value();
- aBB.Add(aRes, aShape);
+ const TopoDS_Shape& aCurrentShape = aIt.Value();
+ aBB.Add(aRes, aCurrentShape);
}
DBRep::Set(a[1], aRes);
}