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
+21
View File
@@ -124,3 +124,24 @@ GeoFrame3d::Load( Scanner& TheScanner)
// imposto il riferimento
return m_frF.Set( ptOrig, vtDirX, vtDirY, vtDirZ) ;
}
//----------------------------------------------------------------------------
bool
GeoFrame3d::GetLocalBBox( BBox3d& b3Loc) const
{
// reset del box (un riferimento non occupa posizioni nello spazio)
b3Loc.Reset() ;
return true ;
}
//----------------------------------------------------------------------------
bool
GeoFrame3d::GetBBox( const Frame3d& frRef, BBox3d& b3Ref) const
{
// verifico validità del frame
if ( frRef.GetType() == Frame3d::ERR)
return false ;
// reset del box (un riferimento non occupa posizioni nello spazio)
b3Ref.Reset() ;
return true ;
}