mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-03 21:30:35 +05:00
PAL7530 Incorrect coordinates of sphere's points are displaying in the "Point Coordinates"
This commit is contained in:
parent
10bf139e7d
commit
377961f078
@ -751,6 +751,9 @@ DlgRef_Skeleton::~DlgRef_Skeleton()
|
|||||||
QString DlgRef::PrintDoubleValue( double theValue, int thePrecision )
|
QString DlgRef::PrintDoubleValue( double theValue, int thePrecision )
|
||||||
{
|
{
|
||||||
const double prec = 1e-12;
|
const double prec = 1e-12;
|
||||||
|
|
||||||
|
if ( abs(theValue) < thePrecision)
|
||||||
|
return "0";
|
||||||
|
|
||||||
QString aRes;
|
QString aRes;
|
||||||
aRes.setNum( theValue, 'g', thePrecision );
|
aRes.setNum( theValue, 'g', thePrecision );
|
||||||
|
Loading…
Reference in New Issue
Block a user