X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_NumberOfSegments_i.hxx;h=ef1f715d1d3cc3b239ccb93d3c3007328d27573e;hb=HEAD;hp=ec2947c337ce4684723d6eeca069b0d105fb127b;hpb=6d32f944a0a115b6419184c50b57bf7c4eef5786;p=modules%2Fsmesh.git diff --git a/src/StdMeshers_I/StdMeshers_NumberOfSegments_i.hxx b/src/StdMeshers_I/StdMeshers_NumberOfSegments_i.hxx index ec2947c33..521828a23 100644 --- a/src/StdMeshers_I/StdMeshers_NumberOfSegments_i.hxx +++ b/src/StdMeshers_I/StdMeshers_NumberOfSegments_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 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 @@ -54,50 +54,43 @@ public: virtual ~StdMeshers_NumberOfSegments_i(); // Builds point distribution according to passed function - SMESH::double_array* BuildDistributionExpr( const char*, CORBA::Long, CORBA::Long ) - throw ( SALOME::SALOME_Exception ); - SMESH::double_array* BuildDistributionTab( const SMESH::double_array&, CORBA::Long, CORBA::Long ) - throw ( SALOME::SALOME_Exception ); + SMESH::double_array* BuildDistributionExpr( const char*, CORBA::Long, CORBA::Long ); + SMESH::double_array* BuildDistributionTab( const SMESH::double_array&, CORBA::Long, CORBA::Long ); // Set number of segments - void SetNumberOfSegments( CORBA::Long theSegmentsNumber ) - throw ( SALOME::SALOME_Exception ); + void SetNumberOfSegments( SMESH::smIdType theSegmentsNumber ); // Get number of segments CORBA::Long GetNumberOfSegments(); // Set distribution type - void SetDistrType(CORBA::Long typ) - throw ( SALOME::SALOME_Exception ); + void SetDistrType(CORBA::Long typ); // Get distribution type CORBA::Long GetDistrType(); // Set scalar factor - void SetScaleFactor( CORBA::Double theScaleFactor ) - throw ( SALOME::SALOME_Exception ); + void SetScaleFactor( CORBA::Double theScaleFactor ); // Get scalar factor - CORBA::Double GetScaleFactor() - throw ( SALOME::SALOME_Exception ); + CORBA::Double GetScaleFactor(); + + // Set beta coefficient for Beta Law distribution + void SetBeta(CORBA::Double beta); + // Get beta coefficient for Beta Law distribution + CORBA::Double GetBeta(); // Set table function for distribution DT_TabFunc - void SetTableFunction(const SMESH::double_array& table) - throw ( SALOME::SALOME_Exception ); + void SetTableFunction(const SMESH::double_array& table); // Get table function for distribution DT_TabFunc - SMESH::double_array* GetTableFunction() - throw ( SALOME::SALOME_Exception ); + SMESH::double_array* GetTableFunction(); // Set expression function for distribution DT_ExprFunc - void SetExpressionFunction(const char* expr) - throw ( SALOME::SALOME_Exception ); + void SetExpressionFunction(const char* expr); // Get expression function for distribution DT_ExprFunc - char* GetExpressionFunction() - throw ( SALOME::SALOME_Exception ); + char* GetExpressionFunction(); // Set the exponent mode on/off - void SetConversionMode( CORBA::Long conv ) - throw ( SALOME::SALOME_Exception ); + void SetConversionMode( CORBA::Long conv ); // Returns true if the exponent mode is set - CORBA::Long ConversionMode() - throw ( SALOME::SALOME_Exception ); + CORBA::Long ConversionMode(); // Get implementation ::StdMeshers_NumberOfSegments* GetImpl();