X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FStdMeshers%2FStdMeshers_ProjectionSource1D.cxx;h=549c2ad86b5c891cebdd6e76abf16962f2462cd9;hb=d9f4b53e489dd5857db264ede6acded7b076c9f1;hp=c3dd4ec00d02ac9616b8711a1653f7559e3dde6c;hpb=41b3e4433388f439856c3b0bb3725e9c81179c24;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_ProjectionSource1D.cxx b/src/StdMeshers/StdMeshers_ProjectionSource1D.cxx index c3dd4ec00..549c2ad86 100644 --- a/src/StdMeshers/StdMeshers_ProjectionSource1D.cxx +++ b/src/StdMeshers/StdMeshers_ProjectionSource1D.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 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 @@ -44,9 +44,9 @@ using namespace std; */ //============================================================================= -StdMeshers_ProjectionSource1D::StdMeshers_ProjectionSource1D(int hypId, int studyId, +StdMeshers_ProjectionSource1D::StdMeshers_ProjectionSource1D(int hypId, SMESH_Gen * gen) - : SMESH_Hypothesis(hypId, studyId, gen) + : SMESH_Hypothesis(hypId, gen) { _name = "ProjectionSource1D"; // used by Projection_1D _param_algo_dim = 1; // 1D @@ -72,7 +72,6 @@ StdMeshers_ProjectionSource1D::~StdMeshers_ProjectionSource1D() //============================================================================= void StdMeshers_ProjectionSource1D::SetSourceEdge(const TopoDS_Shape& edge) - throw ( SALOME_Exception ) { if ( edge.IsNull() ) throw SALOME_Exception(LOCALIZED("Null edge is not allowed")); @@ -97,7 +96,6 @@ void StdMeshers_ProjectionSource1D::SetSourceEdge(const TopoDS_Shape& edge) void StdMeshers_ProjectionSource1D::SetVertexAssociation(const TopoDS_Shape& sourceVertex, const TopoDS_Shape& targetVertex) - throw ( SALOME_Exception ) { if ( sourceVertex.IsNull() != targetVertex.IsNull() ) throw SALOME_Exception(LOCALIZED("Two or none vertices must be provided"));