+//================================================================================
+/*!
+ * \brief Set GMF file made by MG-CADSurf to get nb of mesh entities from it
+ */
+//================================================================================
+
+void MG_Hexotic_API::SetInputFile( const std::string mesh2DFile )
+{
+ DriverGMF_Read fileReader;
+ fileReader.SetFile( mesh2DFile );
+
+ smIdType nbVertex, nbEdge, nbFace, nbVol;
+ if ( fileReader.GetMeshInfo(nbVertex, nbEdge, nbFace, nbVol))
+ {
+ _nbNodes += nbVertex;
+ _nbEdges += nbEdge;
+ _nbFaces += nbFace;
+ }
+}
+