EgtInterface 1.5j7 :
- migliorate API per modifica e snap
This commit is contained in:
@@ -60,6 +60,20 @@ __stdcall EgtChangeVectorBase( int nId, const double ptB[3])
|
||||
return ( pGVect->ChangeBase( ptB) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtInvertSurface( int nId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, GDB_ID_NULL)
|
||||
// recupero la superficie
|
||||
ISurf* pSurf = GetSurf( pGeomDB->GetGeoObj( nId)) ;
|
||||
if ( pSurf == nullptr)
|
||||
return false ;
|
||||
// la inverto
|
||||
return ( pSurf->Invert() ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtModifyText( int nId, const wchar_t* wsNewText)
|
||||
|
||||
Reference in New Issue
Block a user