mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-01 14:05:37 +05:00
PAL13473 (Build repetitive mesh)
Protect AspectRatio3D::GetValue() from FPE signal
This commit is contained in:
parent
cb75222e29
commit
dbb3cdd2ec
@ -564,6 +564,7 @@ double AspectRatio3D::GetValue( const TSequenceOfXYZ& P )
|
|||||||
//double aVolume = getVolume(aLen);
|
//double aVolume = getVolume(aLen);
|
||||||
double aHeight = getMaxHeight(aLen);
|
double aHeight = getMaxHeight(aLen);
|
||||||
static double aCoeff = sqrt(2.0)/12.0;
|
static double aCoeff = sqrt(2.0)/12.0;
|
||||||
|
if ( aVolume > DBL_MIN )
|
||||||
aQuality = aCoeff*aHeight*aSumArea/aVolume;
|
aQuality = aCoeff*aHeight*aSumArea/aVolume;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user