EgtGeomKernel 1.5a4 : Implementazione BoundingBox.

This commit is contained in:
Dario Sassi
2014-01-16 22:02:41 +00:00
parent 2e00faa02b
commit 7479cb4162
34 changed files with 982 additions and 233 deletions
+20
View File
@@ -120,6 +120,26 @@ GdbObj::Load( const std::string& sType, Scanner& TheScanner, int& nParentId)
return m_pGeoObj->Load( TheScanner) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::GetLocalBBox( BBox3d& b3Loc) const
{
if ( m_pGeoObj != nullptr)
return m_pGeoObj->GetLocalBBox( b3Loc) ;
else
return false ;
}
//----------------------------------------------------------------------------
bool
GdbObj::GetBBox( const Frame3d& frRef, BBox3d& b3Ref) const
{
if ( m_pGeoObj != nullptr)
return m_pGeoObj->GetBBox( frRef, b3Ref) ;
else
return false ;
}
//----------------------------------------------------------------------------
bool
GdbObj::Translate( const Vector3d& vtMove)