EgtInterface 1.6n7 :

- aggiornamento per nuove funzioni con Photo.
This commit is contained in:
Dario Sassi
2016-02-18 18:46:27 +00:00
parent 1a7194e9ee
commit c9738c189b
2 changed files with 35 additions and 0 deletions
+35
View File
@@ -49,3 +49,38 @@ __stdcall EgtChangePhotoPath( int nId, const wchar_t* wsFile)
{
return ( ExeChangePhotoPath( nId, wstrztoA( wsFile)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetPhotoOrigin( int nId, double ptOri[3])
{
if ( ptOri == nullptr)
return FALSE ;
Point3d ptTmp ;
if ( ! ExeGetPhotoOrigin( nId, ptTmp))
return FALSE ;
VEC_FROM_3D( ptOri, ptTmp)
return TRUE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetPhotoCenter( int nId, double ptCen[3])
{
if ( ptCen == nullptr)
return FALSE ;
Point3d ptTmp ;
if ( ! ExeGetPhotoCenter( nId, ptTmp))
return FALSE ;
VEC_FROM_3D( ptCen, ptTmp)
return TRUE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetPhotoMMxPixel( int nId, double* pdMMxPixel)
{
if ( pdMMxPixel == nullptr)
return FALSE ;
return ( ExeGetPhotoMMxPixel( nId, *pdMMxPixel) ? TRUE : FALSE) ;
}
BIN
View File
Binary file not shown.