mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
{
/*! * 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:
parent
67b7121966
commit
951e90bf47
@ -448,9 +448,9 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
|
||||
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->SetLength( params[1].myValue.toDouble(), false );
|
||||
h->SetEndLength( params[1].myValue.toDouble() );
|
||||
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
|
||||
if (w) {
|
||||
h->SetReversedEdges( w->GetListOfIDs() );
|
||||
@ -481,9 +481,9 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
|
||||
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->SetLength( params[1].myValue.toDouble(), false );
|
||||
h->SetEndLength( params[1].myValue.toDouble() );
|
||||
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
|
||||
if (w) {
|
||||
h->SetReversedEdges( w->GetListOfIDs() );
|
||||
|
Loading…
Reference in New Issue
Block a user