Salome HOME
PR: synchro V6_main tag mergeto_V7_main_11Feb13
[modules/smesh.git] / src / StdMeshers / StdMeshers_ProjectionSource2D.cxx
index 479bdd6eca6f29bf8d70aec89f7ab05fd2d926e5..38017bf693333e0feff1d6233d840d61b81304d9 100644 (file)
@@ -28,6 +28,7 @@
 #include "StdMeshers_ProjectionSource2D.hxx"
 
 #include "SMESH_Mesh.hxx"
+#include "SMESH_MesherHelper.hxx"
 #include "StdMeshers_ProjectionUtils.hxx"
 
 #include "utilities.h"
@@ -111,7 +112,7 @@ void StdMeshers_ProjectionSource2D::SetVertexAssociation(const TopoDS_Shape& sou
   {
     // possibly there is only 1 vertex in the face
     if ( !_sourceFace.IsNull() &&
-         StdMeshers_ProjectionUtils::Count( _sourceFace, TopAbs_VERTEX, /*ignoreSame=*/true) != 1 )
+         SMESH_MesherHelper::Count( _sourceFace, TopAbs_VERTEX, /*ignoreSame=*/true) != 1 )
       throw SALOME_Exception(LOCALIZED("Two or none pairs of vertices must be provided"));
   }