X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_PolygonPerFace_2D.cxx;h=16f0d8364d8948ebb9a3edc85fd665aad9ea2fb8;hb=b24a2d1b7692bdb21cf037b026e0273ba547cef4;hp=5f3a21e8ad455b3ddf7eb1b6feb2f53a8d98eefe;hpb=c98d9fcd7f02c1f1f5c24dd3e709ed75228d66c4;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_PolygonPerFace_2D.cxx b/src/StdMeshers/StdMeshers_PolygonPerFace_2D.cxx index 5f3a21e8a..16f0d8364 100644 --- a/src/StdMeshers/StdMeshers_PolygonPerFace_2D.cxx +++ b/src/StdMeshers/StdMeshers_PolygonPerFace_2D.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 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 @@ -37,21 +37,20 @@ #include #include +#include #include -#include using namespace std; //======================================================================= //function : StdMeshers_PolygonPerFace_2D -//purpose : +//purpose : //======================================================================= StdMeshers_PolygonPerFace_2D::StdMeshers_PolygonPerFace_2D(int hypId, - int studyId, SMESH_Gen* gen) - :SMESH_2D_Algo(hypId, studyId, gen) + :SMESH_2D_Algo(hypId, gen) { _name = "PolygonPerFace_2D"; } @@ -61,8 +60,8 @@ StdMeshers_PolygonPerFace_2D::StdMeshers_PolygonPerFace_2D(int hypId, //purpose : //======================================================================= -bool StdMeshers_PolygonPerFace_2D::CheckHypothesis(SMESH_Mesh& theMesh, - const TopoDS_Shape& theShape, +bool StdMeshers_PolygonPerFace_2D::CheckHypothesis(SMESH_Mesh& /*theMesh*/, + const TopoDS_Shape& /*theShape*/, SMESH_Hypothesis::Hypothesis_Status& theStatus) { theStatus = HYP_OK; @@ -87,10 +86,10 @@ bool StdMeshers_PolygonPerFace_2D::Compute(SMESH_Mesh& theMesh, if ( !proxyMesh ) return false; - TError erorr; + TError err; TSideVector wires = StdMeshers_FaceSide::GetFaceWires(face, theMesh, /*skipMediumNodes=*/_quadraticMesh, - erorr, proxyMesh, + err, &helper, proxyMesh, /*checkVertexNodes=*/false); if ( wires.size() != 1 ) return error( COMPERR_BAD_SHAPE, SMESH_Comment("One wire required, not ") << wires.size() );