EgtGeomKernel 1.4l2 : Aggiunte ApproxWithLines su Curve Semplici.
This commit is contained in:
+4
-5
@@ -15,6 +15,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "GdbExecutor.h"
|
||||
#include "GdbIterator.h"
|
||||
#include "DllMain.h"
|
||||
#include "/EgtDev/Include/EgnStringUtils.h"
|
||||
#include "/EgtDev/Include/EgnStringConverter.h"
|
||||
#include "/EgtDev/Include/EgkGeoPoint3d.h"
|
||||
@@ -39,7 +40,6 @@ CreateGdbExecutor( void)
|
||||
GdbExecutor::GdbExecutor( void)
|
||||
{
|
||||
m_pGDB = nullptr ;
|
||||
m_pLogger = nullptr ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -49,10 +49,9 @@ GdbExecutor::~GdbExecutor( void)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbExecutor::Init( IGeomDB* pGdb, ILogger* pLogger)
|
||||
GdbExecutor::Init( IGeomDB* pGdb)
|
||||
{
|
||||
m_pGDB = pGdb ;
|
||||
m_pLogger = pLogger ;
|
||||
|
||||
return ( m_pGDB != nullptr) ;
|
||||
}
|
||||
@@ -73,7 +72,7 @@ GdbExecutor::Execute( const string& sCmd1, const string& sCmd2, const STRVECTOR&
|
||||
sOut += *theConstIter ;
|
||||
}
|
||||
sOut += "]" ;
|
||||
LOG_DEBUG( m_pLogger, sOut.c_str()) ;
|
||||
LOG_DBG_INFO( GetEGkLogger(), sOut.c_str()) ;
|
||||
|
||||
// esecuzione comando
|
||||
if ( sCmd1 == "ALIAS")
|
||||
@@ -909,7 +908,7 @@ GdbExecutor::ExecuteLoad( const STRVECTOR& vsParams)
|
||||
return false ;
|
||||
// pulizia e reinizializzazione del DB geometrico
|
||||
m_pGDB->Clear() ;
|
||||
m_pGDB->ReInit() ;
|
||||
m_pGDB->Init() ;
|
||||
// esecuzione caricamento
|
||||
return m_pGDB->Load( vsParams[0]) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user