/*!
      * Sets <start segment length> or <end segment length> parameter value
+     * * OBSOLETE *. Avoid such a way of interface design
+     * * It is recommended to dedicate a method to each parameter.
      */
     void SetLength(in double length, in boolean isStartLength)
       raises (SALOME::SALOME_Exception);

     /*!
+     * Sets <start segment length> parameter value
+     */
+    void SetStartLength(in double length)
+      raises (SALOME::SALOME_Exception);
+
+    /*!
+     * Sets <end segment length> parameter value
+     */
+    void SetEndLength(in double length)
+      raises (SALOME::SALOME_Exception);
This commit is contained in:
eap 2009-07-15 13:26:29 +00:00
parent 686a864564
commit 4479d7348d

View File

@ -237,10 +237,24 @@ module StdMeshers
{ {
/*! /*!
* Sets <start segment length> or <end segment length> parameter value * Sets <start segment length> or <end segment length> parameter value
* * OBSOLETE *. Avoid such a way of interface design
* * It is recommended to dedicate a method to each parameter.
*/ */
void SetLength(in double length, in boolean isStartLength) void SetLength(in double length, in boolean isStartLength)
raises (SALOME::SALOME_Exception); raises (SALOME::SALOME_Exception);
/*!
* Sets <start segment length> parameter value
*/
void SetStartLength(in double length)
raises (SALOME::SALOME_Exception);
/*!
* Sets <end segment length> parameter value
*/
void SetEndLength(in double length)
raises (SALOME::SALOME_Exception);
/*! /*!
* Returns <start segment length> or <end segment length> parameter value * Returns <start segment length> or <end segment length> parameter value
*/ */
@ -308,10 +322,24 @@ module StdMeshers
{ {
/*! /*!
* Sets <start segment length> or <end segment length> parameter value * Sets <start segment length> or <end segment length> parameter value
* * OBSOLETE *. Avoid such a way of interface design.
* * It is recommended to dedicate a method to each parameter.
*/ */
void SetLength(in double length, in boolean isStartLength) void SetLength(in double length, in boolean isStartLength)
raises (SALOME::SALOME_Exception); raises (SALOME::SALOME_Exception);
/*!
* Sets <start segment length> parameter value
*/
void SetStartLength(in double length)
raises (SALOME::SALOME_Exception);
/*!
* Sets <end segment length> parameter value
*/
void SetEndLength(in double length)
raises (SALOME::SALOME_Exception);
/*! /*!
* Returns <start segment length> or <end segment length> parameter value * Returns <start segment length> or <end segment length> parameter value
*/ */