EgtInterface 1.5j7 :

- migliorate API per modifica e snap
This commit is contained in:
Dario Sassi
2014-11-05 17:03:47 +00:00
parent e4d952bf32
commit 0e648470ed
12 changed files with 916 additions and 543 deletions
+14
View File
@@ -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)