mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 11:40:32 +05:00
52747: Wrong doc page opened from Scalar Bar Properties dialog
This commit is contained in:
parent
e7f4c012fb
commit
bb10a2d7a2
BIN
doc/salome/gui/SMESH/images/image90.jpg
Executable file → Normal file
BIN
doc/salome/gui/SMESH/images/image90.jpg
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 20 KiB |
@ -1357,10 +1357,10 @@ double Taper::GetValue( const TSequenceOfXYZ& P )
|
||||
return 0.;
|
||||
|
||||
// Compute taper
|
||||
double J1 = getArea( P( 4 ), P( 1 ), P( 2 ) ) / 2.;
|
||||
double J2 = getArea( P( 3 ), P( 1 ), P( 2 ) ) / 2.;
|
||||
double J3 = getArea( P( 2 ), P( 3 ), P( 4 ) ) / 2.;
|
||||
double J4 = getArea( P( 3 ), P( 4 ), P( 1 ) ) / 2.;
|
||||
double J1 = getArea( P( 4 ), P( 1 ), P( 2 ) );
|
||||
double J2 = getArea( P( 3 ), P( 1 ), P( 2 ) );
|
||||
double J3 = getArea( P( 2 ), P( 3 ), P( 4 ) );
|
||||
double J4 = getArea( P( 3 ), P( 4 ), P( 1 ) );
|
||||
|
||||
double JA = 0.25 * ( J1 + J2 + J3 + J4 );
|
||||
if ( JA <= theEps )
|
||||
@ -1381,7 +1381,7 @@ double Taper::GetValue( const TSequenceOfXYZ& P )
|
||||
double Taper::GetBadRate( double Value, int /*nbNodes*/ ) const
|
||||
{
|
||||
// the taper is in the range [0.0,1.0]
|
||||
// 0.0 = good (no taper)
|
||||
// 0.0 = good (no taper)
|
||||
// 1.0 = bad (les cotes opposes sont allignes)
|
||||
return Value;
|
||||
}
|
||||
|
@ -448,7 +448,7 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg( SMESHGUI*
|
||||
connect( mySelectionMgr, SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
|
||||
connect( mySMESHGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( reject() ) );
|
||||
|
||||
myHelpFileName = "quality_page.html";
|
||||
myHelpFileName = "scalar_bar_dlg.html";
|
||||
}
|
||||
|
||||
//=================================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user