]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor corrections.
authormzn <mzn@opencascade.com>
Wed, 20 Nov 2013 07:39:48 +0000 (07:39 +0000)
committermzn <mzn@opencascade.com>
Wed, 20 Nov 2013 07:39:48 +0000 (07:39 +0000)
src/HYDROData/HYDROData_Region.cxx

index a4f68c331faeb01b7e24a27db665fc1bf4c3165d..384b4bd2400a7b5b913f5d2db19916162f687fcf 100644 (file)
@@ -197,13 +197,12 @@ TopoDS_Shape HYDROData_Region::GetShape() const
       } // 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();
@@ -231,4 +230,4 @@ TopoDS_Shape HYDROData_Region::GetShape() const
   }
   
   return aResShape;
-}
\ No newline at end of file
+}