]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
0021130: EDF 1746 SMESH: Issue with export in STL format
authoreap <eap@opencascade.com>
Fri, 28 Jan 2011 07:46:40 +0000 (07:46 +0000)
committereap <eap@opencascade.com>
Fri, 28 Jan 2011 07:46:40 +0000 (07:46 +0000)
   move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ

src/GHS3DPlugin_GHS3D.cxx

index 6388a5e1de28821befb4f8fed20fcc06b32df315..0c8b8da4589d606911fc576eb40f534d6792c480 100644 (file)
@@ -1176,10 +1176,10 @@ static bool readResultFile(const int                      fileOpen,
       // volumic elements already exist
       if ( !node[1] || !node[0] || !node[2] || !node[3] )
         continue;
-      if ( elemSearcher->FindElementsByPoint(( SMESH_MeshEditor::TNodeXYZ(node[0]) +
-                                               SMESH_MeshEditor::TNodeXYZ(node[1]) +
-                                               SMESH_MeshEditor::TNodeXYZ(node[2]) +
-                                               SMESH_MeshEditor::TNodeXYZ(node[3]) ) / 4.,
+      if ( elemSearcher->FindElementsByPoint(( SMESH_TNodeXYZ(node[0]) +
+                                               SMESH_TNodeXYZ(node[1]) +
+                                               SMESH_TNodeXYZ(node[2]) +
+                                               SMESH_TNodeXYZ(node[3]) ) / 4.,
                                              SMDSAbs_Volume, foundVolumes ))
         continue;
     }