X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_BlockRenumber.cxx;h=df74a1665b240257f95d6d9c9ec9d4ce9a2621ca;hb=010b8a9efdf1b9df0bf16373e7968e11a2bfa17a;hp=77889c7c44f1244939481c9d2d249337b5e816da;hpb=96b56d1ee6cac6144b4cb376187ec7c21be4ae51;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_BlockRenumber.cxx b/src/StdMeshers/StdMeshers_BlockRenumber.cxx index 77889c7c4..df74a1665 100644 --- a/src/StdMeshers/StdMeshers_BlockRenumber.cxx +++ b/src/StdMeshers/StdMeshers_BlockRenumber.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -26,14 +26,15 @@ #include "StdMeshers_BlockRenumber.hxx" -#include "SMDS_EdgePosition.hxx" -#include "SMDS_FacePosition.hxx" -#include "SMESHDS_Mesh.hxx" -#include "SMESHDS_SubMesh.hxx" -#include "SMESH_Algo.hxx" -#include "SMESH_Mesh.hxx" -#include "SMESH_MesherHelper.hxx" -#include "SMESH_TryCatch.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -41,7 +42,6 @@ #include #include -#include //============================================================================= /*! @@ -203,11 +203,11 @@ TopoDS_Vertex StdMeshers_RenumberHelper::GetVertex000( const TopTools_MapOfShape } //======================================================================= -//function : GetVertex000 -//purpose : Find default vertex at (0,0,0) local position +//function : GetVertexAtPoint +//purpose : Return the VERTEX of solid at given point //======================================================================= -TopoDS_Vertex StdMeshers_RenumberHelper::GetVertexAtPoint( const TopoDS_Shape& solid, +TopoDS_Vertex StdMeshers_RenumberHelper::GetVertexAtPoint( const TopoDS_Shape& solid, const TopoDS_Shape& point ) { if ( !solid.IsNull() && !point.IsNull() && point.ShapeType() == TopAbs_VERTEX ) @@ -296,8 +296,7 @@ istream & StdMeshers_BlockRenumber::LoadFrom(istream & load) { SMESH_TRY; - boost::archive::text_iarchive archive( load ); - archive >> *this; + SMESHUtils::BoostTxtArchive( load ) >> *this; SMESH_CATCH( SMESH::doNothing );