EgtInterface 1.6n7 :
- aggiornamento per nuove funzioni con Photo.
This commit is contained in:
@@ -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) ;
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user