EgtInterface 1.9f2 :
- aggiunte interfacce per EgtSetTableAreaOffset, EgtGetTableAreaOffset e EgtIsOperationEmpty.
This commit is contained in:
@@ -441,6 +441,13 @@ __stdcall EgtSetTable( const wchar_t* wsTable)
|
||||
return ( ExeSetTable( wstrztoA( wsTable)) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetTableAreaOffset( double dOffsXP, double dOffsYP, double dOffsXM, double dOffsYM)
|
||||
{
|
||||
return ( ExeSetTableAreaOffset( dOffsXP, dOffsYP, dOffsXM, dOffsYM) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetTableName( wchar_t*& wsTableName)
|
||||
@@ -483,6 +490,22 @@ __stdcall EgtGetTableArea( int nInd, double ptMin[3], double ptMax[3])
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetTableAreaOffset( int nInd, double ptMinOffs[3], double ptMaxOffs[3])
|
||||
{
|
||||
// recupero l'identificativo
|
||||
BBox3d b3Area ;
|
||||
if ( ! ExeGetTableAreaOffset( nInd, b3Area))
|
||||
return FALSE ;
|
||||
// ritorno i dati
|
||||
if ( ptMinOffs != nullptr)
|
||||
VEC_FROM_3D( ptMinOffs, b3Area.GetMin()) ;
|
||||
if ( ptMaxOffs != nullptr)
|
||||
VEC_FROM_3D( ptMaxOffs, b3Area.GetMax()) ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtShowOnlyTable( bool bVal)
|
||||
@@ -1123,6 +1146,13 @@ __stdcall EgtGetOperationId( const wchar_t* wsName)
|
||||
return ExeGetOperationId( wstrztoA( wsName)) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtIsOperationEmpty( int nId)
|
||||
{
|
||||
return ( ExeIsOperationEmpty( nId) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtRemoveOperation( int nId)
|
||||
|
||||
Reference in New Issue
Block a user