EgtExecutor 1.6n7 :
- aggiunte ExeGetPhotoOrigin, ExeGetPhotoCenter, ExeGetPhotoMMxPixel.
This commit is contained in:
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user