EgtGeomKernel 1.5f1 :
- aggiunta entità testo (con font Nfe e di sistema) - in tutte le rotate ora l'angolo è in gradi - aggiunta trasformazione Shear (scorrimento) - aggiunta trsformazione LocToLoc - Set/GetInfo specializzate per i diversi tipi di informazioni - Copy e Relocate con possibilità di indicare l'entità di riferimento rispetto a cui inserire - aggiunte trasformazioni a PolyLine.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "GdbIterator.h"
|
||||
#include "Attribs.h"
|
||||
#include "/EgtDev/Include/EGkStringUtils3d.h"
|
||||
#include <new>
|
||||
|
||||
using namespace std ;
|
||||
@@ -731,6 +732,48 @@ GdbIterator::SetInfo( const string& sKey, const string& sInfo)
|
||||
return m_pCurrObj->SetInfo( sKey, sInfo) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetInfo( const string& sKey, bool bInfo)
|
||||
{
|
||||
return SetInfo( sKey, ToString( bInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetInfo( const string& sKey, int nInfo)
|
||||
{
|
||||
return SetInfo( sKey, ToString( nInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetInfo( const string& sKey, double dInfo)
|
||||
{
|
||||
return SetInfo( sKey, ToString( dInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetInfo( const string& sKey, const Point3d& ptInfo)
|
||||
{
|
||||
return SetInfo( sKey, ToString( ptInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetInfo( const string& sKey, const Vector3d& vtInfo)
|
||||
{
|
||||
return SetInfo( sKey, ToString( vtInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetInfo( const string& sKey, const Frame3d& frInfo)
|
||||
{
|
||||
return SetInfo( sKey, ToString( frInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, string& sInfo) const
|
||||
@@ -742,6 +785,54 @@ GdbIterator::GetInfo( const string& sKey, string& sInfo) const
|
||||
return m_pCurrObj->GetInfo( sKey, sInfo) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, bool& bInfo) const
|
||||
{
|
||||
string sInfo ;
|
||||
return ( GetInfo( sKey, sInfo) && FromString( sInfo, bInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, int& nInfo) const
|
||||
{
|
||||
string sInfo ;
|
||||
return ( GetInfo( sKey, sInfo) && FromString( sInfo, nInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, double& dInfo) const
|
||||
{
|
||||
string sInfo ;
|
||||
return ( GetInfo( sKey, sInfo) && FromString( sInfo, dInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, Point3d& ptInfo) const
|
||||
{
|
||||
string sInfo ;
|
||||
return ( GetInfo( sKey, sInfo) && FromString( sInfo, ptInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, Vector3d& vtInfo) const
|
||||
{
|
||||
string sInfo ;
|
||||
return ( GetInfo( sKey, sInfo) && FromString( sInfo, vtInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetInfo( const string& sKey, Frame3d& frInfo) const
|
||||
{
|
||||
string sInfo ;
|
||||
return ( GetInfo( sKey, sInfo) && FromString( sInfo, frInfo)) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::ExistsInfo( const string& sKey) const
|
||||
|
||||
Reference in New Issue
Block a user