8a92306136
- aggiunta prima versione di ImportPnt.
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2018-2018
|
|
//----------------------------------------------------------------------------
|
|
// File : ImportPnt.h Data : 03.07.18 Versione : 1.9g1
|
|
// Contenuto : Dichiarazione della classe ImportPnt.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 03.07.18 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EExImportPnt.h"
|
|
#include "/EgtDev/Include/EgtStringBase.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
class ImportPnt : public IImportPnt
|
|
{
|
|
public :
|
|
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup, int nFlag = 0) ;
|
|
|
|
private :
|
|
bool ProcessLine( const std::string& sLine) ;
|
|
bool AddLine( int nLineType) ;
|
|
bool PostProcess( void) ;
|
|
|
|
private :
|
|
IGeomDB* m_pGDB ;
|
|
int m_nIdGroup ;
|
|
Frame3d m_frGroup ;
|
|
int m_nFlag ;
|
|
int m_nLine ;
|
|
int m_nLayId ;
|
|
Point3d m_ptLast ;
|
|
bool m_bLast ;
|
|
} ;
|