EgtGeomKernel :

- cambiato Load, con uso di NgeReader.
This commit is contained in:
Dario Sassi
2014-04-15 06:48:39 +00:00
parent f956fd20cc
commit 2cbdfc1db9
33 changed files with 492 additions and 330 deletions
+4 -6
View File
@@ -2,7 +2,7 @@
// EgalTech 2014-2014
//----------------------------------------------------------------------------
// File : NgeWriter.cpp Data : 13.04.14 Versione : 1.5d5
// Contenuto : Implementazione della classe Writer.
// Contenuto : Implementazione della classe NgeWriter.
//
//
//
@@ -14,7 +14,6 @@
//--------------------------- Include ----------------------------------------
#include "stdafx.h"
#include "NgeWriter.h"
#include "NgeConst.h"
#include "NgeKeyW.h"
#include "/EgtDev/Include/EGkStringUtils3d.h"
#include "/EgtDev/Include/EgnStringConverter.h"
@@ -220,7 +219,7 @@ NgeWriter::WriteFrame( const Frame3d& frF, const char* szSep, bool bEndL, int nP
//----------------------------------------------------------------------------
void
NgeWriter::WriteKey( int nKey, bool bEndL)
NgeWriter::WriteKey( int nKey)
{
if ( ! m_OutFile.is_open())
return ;
@@ -232,8 +231,7 @@ NgeWriter::WriteKey( int nKey, bool bEndL)
m_OutFile.write( (char*) &NgeBinKeyW[nKey], sizeof( int)) ;
else {
m_OutFile << NgeAscKeyW[nKey] ;
if ( bEndL)
m_OutFile << endl ;
m_OutFile << endl ;
}
}
@@ -259,4 +257,4 @@ NgeWriter::WriteCol( const Color& cCol, const char* szSep, bool bEndL)
if ( bEndL)
m_OutFile << endl ;
}
}
}