X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_ProjectionSource3D.cxx;h=11be5242505555b015c16288f8f833dd3c4b6f0d;hb=a274ade365bd0f0e19d56c577acc4a13aa1972a7;hp=868553480bec4a8d907483909607c0c1a8e00b05;hpb=41b3e4433388f439856c3b0bb3725e9c81179c24;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_ProjectionSource3D.cxx b/src/StdMeshers/StdMeshers_ProjectionSource3D.cxx index 868553480..11be52425 100644 --- a/src/StdMeshers/StdMeshers_ProjectionSource3D.cxx +++ b/src/StdMeshers/StdMeshers_ProjectionSource3D.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 @@ -43,9 +43,9 @@ using namespace std; */ //============================================================================= -StdMeshers_ProjectionSource3D::StdMeshers_ProjectionSource3D(int hypId, int studyId, +StdMeshers_ProjectionSource3D::StdMeshers_ProjectionSource3D(int hypId, SMESH_Gen * gen) - : SMESH_Hypothesis(hypId, studyId, gen) + : SMESH_Hypothesis(hypId, gen) { _name = "ProjectionSource3D"; // used by Projection_3D _param_algo_dim = 3; // 3D @@ -71,7 +71,6 @@ StdMeshers_ProjectionSource3D::~StdMeshers_ProjectionSource3D() //============================================================================= void StdMeshers_ProjectionSource3D::SetSource3DShape(const TopoDS_Shape& Shape) - throw ( SALOME_Exception ) { if ( Shape.IsNull() ) throw SALOME_Exception(LOCALIZED("Null Shape is not allowed")); @@ -99,7 +98,6 @@ void StdMeshers_ProjectionSource3D::SetVertexAssociation(const TopoDS_Shape& sou const TopoDS_Shape& sourceVertex2, const TopoDS_Shape& targetVertex1, const TopoDS_Shape& targetVertex2) - throw ( SALOME_Exception ) { if ( sourceVertex1.IsNull() != targetVertex1.IsNull() || sourceVertex2.IsNull() != targetVertex2.IsNull() || @@ -161,7 +159,6 @@ TopoDS_Shape StdMeshers_ProjectionSource3D::GetSource3DShape() const //============================================================================= TopoDS_Vertex StdMeshers_ProjectionSource3D::GetSourceVertex(int i) const - throw ( SALOME_Exception ) { if ( i == 1 ) return _sourceVertex1; @@ -179,7 +176,6 @@ TopoDS_Vertex StdMeshers_ProjectionSource3D::GetSourceVertex(int i) const //============================================================================= TopoDS_Vertex StdMeshers_ProjectionSource3D::GetTargetVertex(int i) const - throw ( SALOME_Exception ) { if ( i == 1 ) return _targetVertex1;