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
+9
View File
@@ -1136,6 +1136,7 @@ GdbExecutor::OutGroupScl( int nId, int nFlag)
GdbIterator Iter ;
m_OutScl.Remark( "Start Group ---") ;
// emetto dati gruppo
if ( m_pGDB->GetGroupGlobFrame( nId, frFrame)) {
nParentId = m_pGDB->GetParentId( nId) ;
@@ -1146,7 +1147,14 @@ GdbExecutor::OutGroupScl( int nId, int nFlag)
}
else
return false ;
// emetto eventuale box
if ( ( nFlag & 8) != 0) {
BBox3d b3Loc ;
if ( m_pGDB->GetLocalBBox( nId, b3Loc))
m_OutScl.PutBBox( b3Loc) ;
}
// emetto entità gruppo
m_OutScl.Remark( "Entities :") ;
Iter.SetGDB( m_pGDB) ;
bNext = Iter.GoToFirstInGroup( nId) ;
while ( bNext) {
@@ -1161,6 +1169,7 @@ GdbExecutor::OutGroupScl( int nId, int nFlag)
}
bNext = Iter.GoToNext() ;
}
m_OutScl.Remark( "End Group ---") ;
return true ;
}