From: eap Date: Fri, 28 Jan 2011 07:46:40 +0000 (+0000) Subject: 0021130: EDF 1746 SMESH: Issue with export in STL format X-Git-Tag: Start_BR_19998_21191~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4d5fd967e0ed5b105d76f3af85f552e1891cb38;p=plugins%2Fhybridplugin.git 0021130: EDF 1746 SMESH: Issue with export in STL format move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ --- diff --git a/src/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin_GHS3D.cxx index 6388a5e..0c8b8da 100644 --- a/src/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin_GHS3D.cxx @@ -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; }