} // faces iterator
if ( !aFuseShape.IsNull() ) {
- ShapeUpgrade_UnifySameDomain aUnify;
- aUnify.Initialize( aFuseShape );
- aUnify.UnifyFacesAndEdges();
- aUnify.Build();
- TopoDS_Shape aUnitedShape = aUnify.Shape();
+ ShapeUpgrade_UnifySameDomain anUnifier( aFuseShape );
+ anUnifier.UnifyFacesAndEdges();
+ anUnifier.Build();
+ TopoDS_Shape anUnitedShape = anUnifier.Shape();
- TopExp_Explorer anExp( aUnitedShape, TopAbs_FACE );
+ TopExp_Explorer anExp( anUnitedShape, TopAbs_FACE );
if ( anExp.More() ) {
aRegionFace = TopoDS::Face( anExp.Current() );
anExp.Next();
}
return aResShape;
-}
\ No newline at end of file
+}