EgtGeomKernel 1.6g6 :
- gestione dei Dump con unità di misura (mm o inch) per interfaccia.
This commit is contained in:
+9
-4
@@ -17,8 +17,9 @@
|
||||
#include "GeoObjFactory.h"
|
||||
#include "NgeWriter.h"
|
||||
#include "NgeReader.h"
|
||||
#include "/EgtDev/Include/EGkStringUtils3d.h"
|
||||
#include "/EgtDev/Include/EGkPolyLine.h"
|
||||
#include "/EgtDev/Include/EGkStringUtils3d.h"
|
||||
#include "/EgtDev/Include/EGkUiUnits.h"
|
||||
#include <new>
|
||||
|
||||
using namespace std ;
|
||||
@@ -118,11 +119,15 @@ GeoVector3d::GetTitle( void) const
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GeoVector3d::Dump( string& sOut, const char* szNewLine) const
|
||||
GeoVector3d::Dump( string& sOut, bool bMM, const char* szNewLine) const
|
||||
{
|
||||
// parametri : vettore
|
||||
sOut += "V(" + ToString( m_vtV) + ")" + szNewLine ;
|
||||
sOut += "base(" + ToString( m_ptBase) + ")" + szNewLine ;
|
||||
// se versore non lo converto (non è detto sia sempre corretto)
|
||||
if ( m_vtV.IsNormalized())
|
||||
sOut += "V(" + ToString( m_vtV) + ")" + szNewLine ;
|
||||
else
|
||||
sOut += "V(" + ToString( GetInUiUnits( m_vtV, bMM)) + ")" + szNewLine ;
|
||||
sOut += "base(" + ToString( GetInUiUnits( m_ptBase, bMM), 3) + ")" + szNewLine ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user