From: apo Date: Fri, 29 Jul 2005 09:58:37 +0000 (+0000) Subject: To simplify TPolyedreInfo X-Git-Tag: BR-D5-38-2003_D2005-12-09~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a385e34e190eeb75a85c0b8ce3b87fabbc859019;p=modules%2Fvisu.git To simplify TPolyedreInfo a) remove unnecessary attributes of the structure b) provide corresponding slice interfaces for accessing to the Polyedre connectivities --- diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index a4a8d2d7..cc6aa53b 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -500,29 +500,27 @@ VISU_MedConvertor case MED::ePOLYEDRE: { MED::PPolyedreInfo aPolyedreInfo = aMed->GetPPolyedreInfo(aMeshInfo,aMEntity,aMGeom); TInt aNbElem = aPolyedreInfo->GetNbElem(); - MED::TElemNum aConn = aPolyedreInfo->GetConnectivite(); - MED::TElemNum aIndex = aPolyedreInfo->GetIndex(); - TInt aNbIndex = aIndex.size(); - TInt aNbConn = aConn.size(); - - aMeshOnEntity->myNbCells += aNbElem; - - for (int ii = 0; iiGetNbConn(ii); - aMeshOnEntity->myCellsSize += aNbConnii; - } INITMSG(MYDEBUG, "- aMGeom = "<