From f4d5fd967e0ed5b105d76f3af85f552e1891cb38 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 28 Jan 2011 07:46:40 +0000 Subject: [PATCH] 0021130: EDF 1746 SMESH: Issue with export in STL format move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ --- src/GHS3DPlugin_GHS3D.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.39.2