]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
#17784 [EDF] MESH-GEMS-2.9.6 Meshers options
authoreap <eap@opencascade.com>
Tue, 1 Oct 2019 11:45:53 +0000 (14:45 +0300)
committereap <eap@opencascade.com>
Tue, 1 Oct 2019 11:45:53 +0000 (14:45 +0300)
  rename new methods with "SetUse*" to "Set"

idl/BLSURFPlugin_Algorithm.idl
src/BLSURFPlugin/BLSURFPluginBuilder.py
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx

index 07af2be5d4a9383453e560e82d69eba87b1d7945..23095c958afa4af9a5ad041dabbbcac6c0847e88 100644 (file)
@@ -315,8 +315,8 @@ module BLSURFPlugin
     /*!
      *  Activate/deactivate surface proximity computation
      */
-    void SetUseSurfaceProximity( in boolean toUse );
-    boolean GetUseSurfaceProximity();
+    void SetSurfaceProximity( in boolean toUse );
+    boolean GetSurfaceProximity();
 
     /*!
      * Set number of surface element layers to be generated due to surface proximity
@@ -333,8 +333,8 @@ module BLSURFPlugin
     /*!
      *  Activate/deactivate volume proximity computation
      */
-    void SetUseVolumeProximity( in boolean toUse );
-    boolean GetUseVolumeProximity();
+    void SetVolumeProximity( in boolean toUse );
+    boolean GetVolumeProximity();
 
     /*!
      * Set number of surface element layers to be generated due to volume proximity
index d934e5511af9c85c19edf9afafff3930c484a411..cf659380ea586a9955552f2c444816d5b3dbad17 100644 (file)
@@ -202,7 +202,7 @@ class BLSURF_Algorithm(Mesh_Algorithm):
   # @param toUse boolean flag
   #
   def SetSurfaceProximity(self, toUse ):
-    self.Parameters().SetUseSurfaceProximity(toUse)
+    self.Parameters().SetSurfaceProximity(toUse)
     return
 
   ## Set number of surface element layers to be generated due to surface proximity
@@ -223,7 +223,7 @@ class BLSURF_Algorithm(Mesh_Algorithm):
   # @param toUse boolean flag
   #
   def SetVolumeProximity(self, toUse ):
-    self.Parameters().SetUseVolumeProximity(toUse)
+    self.Parameters().SetVolumeProximity(toUse)
     return
   
   ## Set number of surface element layers to be generated due to volume proximity
index d1b530a8b5d356826b1a501d4449154045eadc93..685440dc889337fd16f49cd7728ba3fcd16884b8 100644 (file)
@@ -790,16 +790,16 @@ CORBA::Long BLSURFPlugin_Hypothesis_i::GetTopology() {
 /*!
  *  Activate/deactivate surface proximity computation
  */
-void BLSURFPlugin_Hypothesis_i::SetUseSurfaceProximity( CORBA::Boolean toUse )
+void BLSURFPlugin_Hypothesis_i::SetSurfaceProximity( CORBA::Boolean toUse )
 {
-  if ( GetUseSurfaceProximity() != toUse )
+  if ( GetSurfaceProximity() != toUse )
   {
     this->GetImpl()->SetUseSurfaceProximity( toUse );
-    SMESH::TPythonDump() << _this() << ".SetUseSurfaceProximity( " << toUse << " )";
+    SMESH::TPythonDump() << _this() << ".SetSurfaceProximity( " << toUse << " )";
   }
 }
 
-CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetUseSurfaceProximity()
+CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetSurfaceProximity()
 {
   return this->GetImpl()->GetUseSurfaceProximity();
 }
@@ -844,16 +844,16 @@ CORBA::Double BLSURFPlugin_Hypothesis_i::GetSurfaceProximityRatio()
 /*!
  *  Activate/deactivate volume proximity computation
  */
-void BLSURFPlugin_Hypothesis_i::SetUseVolumeProximity( CORBA::Boolean toUse )
+void BLSURFPlugin_Hypothesis_i::SetVolumeProximity( CORBA::Boolean toUse )
 {
-  if ( GetUseVolumeProximity() != toUse )
+  if ( GetVolumeProximity() != toUse )
   {
     this->GetImpl()->SetUseVolumeProximity( toUse );
-    SMESH::TPythonDump() << _this() << ".SetUseVolumeProximity( " << toUse << " )";
+    SMESH::TPythonDump() << _this() << ".SetVolumeProximity( " << toUse << " )";
   }
 }
 
-CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetUseVolumeProximity()
+CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetVolumeProximity()
 {
   return this->GetImpl()->GetUseVolumeProximity();
 }
index 9d180f433a6d2c6689e3a774b54b9842528d3d08..f5ec502ef6ee84691acc2940034b12907e11d33f 100644 (file)
@@ -134,8 +134,8 @@ public:
   /*!
    *  Activate/deactivate surface proximity computation
    */
-  void SetUseSurfaceProximity( CORBA::Boolean toUse );
-  CORBA::Boolean GetUseSurfaceProximity();
+  void SetSurfaceProximity( CORBA::Boolean toUse );
+  CORBA::Boolean GetSurfaceProximity();
 
   /*!
    * Set number of surface element layers to be generated due to surface proximity
@@ -152,8 +152,8 @@ public:
   /*!
    *  Activate/deactivate volume proximity computation
    */
-  void SetUseVolumeProximity( CORBA::Boolean toUse );
-  CORBA::Boolean GetUseVolumeProximity();
+  void SetVolumeProximity( CORBA::Boolean toUse );
+  CORBA::Boolean GetVolumeProximity();
 
   /*!
    * Set number of surface element layers to be generated due to volume proximity