EgtGeomKernel 1.5c5 :
- IGdbIterator può utilizzare un altro IGdbIterator per andare sul gruppo - aggiunta gestione nomi di colori standard - Aggiunte ToString e FromString per Color - TSC ora accetta colori standard da nome.
This commit is contained in:
+7
-4
@@ -131,8 +131,8 @@ GeoFrame3d::Load( Scanner& TheScanner)
|
||||
bool
|
||||
GeoFrame3d::GetLocalBBox( BBox3d& b3Loc) const
|
||||
{
|
||||
// reset del box (un riferimento non occupa posizioni nello spazio)
|
||||
b3Loc.Reset() ;
|
||||
// assegno il box in locale (considero l'origine)
|
||||
b3Loc.Set( m_frF.Orig()) ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
@@ -143,8 +143,11 @@ 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() ;
|
||||
// porto l'origine nel riferimento passato
|
||||
Point3d ptP = m_frF.Orig() ;
|
||||
ptP.ToGlob( frRef) ;
|
||||
// assegno il box nel riferimento
|
||||
b3Ref.Set( ptP) ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user