summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
67b7121)
/*!
* 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);
StdMeshersGUI_EdgeDirectionParamWdg* w =
widget< StdMeshersGUI_EdgeDirectionParamWdg >( 2 );
StdMeshersGUI_EdgeDirectionParamWdg* w =
widget< StdMeshersGUI_EdgeDirectionParamWdg >( 2 );
- h->SetLength( params[0].myValue.toDouble(), true );
+ h->SetStartLength( params[0].myValue.toDouble() );
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
- h->SetLength( params[1].myValue.toDouble(), false );
+ h->SetEndLength( params[1].myValue.toDouble() );
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
if (w) {
h->SetReversedEdges( w->GetListOfIDs() );
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
if (w) {
h->SetReversedEdges( w->GetListOfIDs() );
StdMeshersGUI_EdgeDirectionParamWdg* w =
widget< StdMeshersGUI_EdgeDirectionParamWdg >( 2 );
StdMeshersGUI_EdgeDirectionParamWdg* w =
widget< StdMeshersGUI_EdgeDirectionParamWdg >( 2 );
- h->SetLength( params[0].myValue.toDouble(), true );
+ h->SetStartLength( params[0].myValue.toDouble() );
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
- h->SetLength( params[1].myValue.toDouble(), false );
+ h->SetEndLength( params[1].myValue.toDouble() );
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
if (w) {
h->SetReversedEdges( w->GetListOfIDs() );
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
if (w) {
h->SetReversedEdges( w->GetListOfIDs() );