X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_SegmentLengthAroundVertex.cxx;h=9da4be6e04843b4513baa43437befbda2266c62e;hp=3cc7562b482cd8bc6096c55ca1d224c9a9d8782a;hb=HEAD;hpb=59627b07d70f4caa4c768be6805334d2610fa54c diff --git a/src/StdMeshers/StdMeshers_SegmentLengthAroundVertex.cxx b/src/StdMeshers/StdMeshers_SegmentLengthAroundVertex.cxx index 3cc7562b4..0ef91faa4 100644 --- a/src/StdMeshers/StdMeshers_SegmentLengthAroundVertex.cxx +++ b/src/StdMeshers/StdMeshers_SegmentLengthAroundVertex.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH : implementaion of SMESH idl descriptions +// SMESH SMESH : implementation of SMESH idl descriptions // File : StdMeshers_SegmentLengthAroundVertex.cxx // Module : SMESH // @@ -31,6 +31,7 @@ #include "SMDS_MeshNode.hxx" #include "SMESHDS_Mesh.hxx" #include "SMESHDS_SubMesh.hxx" +#include "SMESH_MeshEditor.hxx" #include "SMESH_MesherHelper.hxx" #include "utilities.h" @@ -50,8 +51,8 @@ using namespace std; //============================================================================= StdMeshers_SegmentLengthAroundVertex::StdMeshers_SegmentLengthAroundVertex - (int hypId, int studyId, SMESH_Gen * gen) - :SMESH_Hypothesis(hypId, studyId, gen) + (int hypId, SMESH_Gen * gen) + :SMESH_Hypothesis(hypId, gen) { _length = 1.; _name = "SegmentLengthAroundVertex"; @@ -74,7 +75,7 @@ StdMeshers_SegmentLengthAroundVertex::~StdMeshers_SegmentLengthAroundVertex() */ //============================================================================= -void StdMeshers_SegmentLengthAroundVertex::SetLength(double length) throw(SALOME_Exception) +void StdMeshers_SegmentLengthAroundVertex::SetLength(double length) { if (length <= 0) throw SALOME_Exception(LOCALIZED("length must be positive"));