]> SALOME platform Git repositories - plugins/ghs3dprlplugin.git/commitdiff
Salome HOME
-#include "SMESH_*D_Algo.hxx"
authoreap <eap@opencascade.com>
Wed, 29 Aug 2012 17:51:20 +0000 (17:51 +0000)
committereap <eap@opencascade.com>
Wed, 29 Aug 2012 17:51:20 +0000 (17:51 +0000)
+#include "SMESH_Algo.hxx"

src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx
src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.hxx

index cb93731912bed4d270d9656eeb64d97f15efede5..15bc027fba457057a3288f9e0cac4915f45e9af9 100755 (executable)
@@ -25,8 +25,9 @@
 #include "GHS3DPRLPlugin_GHS3DPRL.hxx"
 #include "GHS3DPRLPlugin_Hypothesis.hxx"
 
-#include "SMDS_MeshElement.hxx"
-#include "SMDS_MeshNode.hxx"
+#include <SMDS_MeshElement.hxx>
+#include <SMDS_MeshNode.hxx>
+#include <SMESH_subMesh.hxx>
 
 #include <TopExp_Explorer.hxx>
 #include <OSD_File.hxx>
@@ -646,8 +647,8 @@ istream & operator >> (istream & load, GHS3DPRLPlugin_GHS3DPRL & hyp)
  */
 //=============================================================================
 bool GHS3DPRLPlugin_GHS3DPRL::Evaluate(SMESH_Mesh& aMesh,
-                                      const TopoDS_Shape& aShape,
-                                      MapShapeNbElems& aResMap)
+                                       const TopoDS_Shape& aShape,
+                                       MapShapeNbElems& aResMap)
 {
   int nbtri = 0, nbqua = 0;
   double fullArea = 0.0;
@@ -658,7 +659,7 @@ bool GHS3DPRLPlugin_GHS3DPRL::Evaluate(SMESH_Mesh& aMesh,
     if( anIt==aResMap.end() ) {
       SMESH_ComputeErrorPtr& smError = sm->GetComputeError();
       smError.reset( new SMESH_ComputeError(COMPERR_ALGO_FAILED,
-                                           "Submesh can not be evaluated",this));
+                                            "Submesh can not be evaluated",this));
       return false;
     }
     std::vector<int> aVec = (*anIt).second;
index 2ed2f90465b57d2f17e56a5b7dc499edd5448791..733cfc21588de38b7321be8aad198509e9bcc981 100755 (executable)
@@ -27,7 +27,7 @@
 
 #include "GHS3DPRLPlugin_Defs.hxx"
 
-#include "SMESH_3D_Algo.hxx"
+#include "SMESH_Algo.hxx"
 #include "SMESH_Mesh.hxx"
 #include "Utils_SALOME_Exception.hxx"