EgtExecutor 1.6n7 :

- aggiunte ExeGetPhotoOrigin, ExeGetPhotoCenter, ExeGetPhotoMMxPixel.
This commit is contained in:
Dario Sassi
2016-02-18 18:45:52 +00:00
parent e46bed6d8e
commit 403d3a658d
4 changed files with 95 additions and 2 deletions
+33
View File
@@ -199,6 +199,14 @@ PhotoObj::Set( const string& sName, const string& sPath,
return true ;
}
//----------------------------------------------------------------------------
bool
PhotoObj::GetName( string& sName)
{
sName = m_sName ;
return true ;
}
//----------------------------------------------------------------------------
bool
PhotoObj::GetPath( string& sPath)
@@ -214,3 +222,28 @@ PhotoObj::ChangePath( const string& sPath)
m_sPath = sPath ;
return ( ! m_sPath.empty()) ;
}
//----------------------------------------------------------------------------
bool
PhotoObj::GetOrigin( Point3d& ptOri)
{
ptOri = m_ptOri ;
return true ;
}
//----------------------------------------------------------------------------
bool
PhotoObj::GetCenter( Point3d& ptCen)
{
ptCen = m_ptCen ;
return true ;
}
//----------------------------------------------------------------------------
bool
PhotoObj::GetDimensions( double& dDimX, double& dDimY)
{
dDimX = m_dDimX ;
dDimY = m_dDimY ;
return true ;
}