EgtGeomKernel 1.5a4 : Implementazione BoundingBox.
This commit is contained in:
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user