EgtGeomKernel 1.6c5 :

- corrette ToGlob, ToLoc e LocToLoc di SurfTM per versori normali dei triangoli
- calcolo facce ora sempre effettuato con SurfTM
- inserimento in gruppo ora possibile anche in testa( GDB_FIRST_SON).
This commit is contained in:
Dario Sassi
2015-03-25 14:32:15 +00:00
parent 3ee7480e26
commit 380ef00af3
6 changed files with 65 additions and 21 deletions
+10 -2
View File
@@ -4338,7 +4338,7 @@ GdbExecutor::ExecuteCopy( const string& sCmd2, const STRVECTOR& vsParams)
if ( vsParams.size() != 3 && vsParams.size() != 4)
return false ;
// recupero tipo di inserimento della copia
int nSonBeforeAfter = GDB_SON ;
int nSonBeforeAfter = GDB_LAST_SON ;
if ( vsParams.size() == 4) {
string sFlag = vsParams[3] ;
ToUpper( sFlag) ;
@@ -4346,6 +4346,10 @@ GdbExecutor::ExecuteCopy( const string& sCmd2, const STRVECTOR& vsParams)
nSonBeforeAfter = GDB_BEFORE ;
else if ( sFlag == "AFTER")
nSonBeforeAfter = GDB_AFTER ;
else if ( sFlag == "FIRST_SON")
nSonBeforeAfter = GDB_FIRST_SON ;
else // default "LAST_SON"
nSonBeforeAfter = GDB_LAST_SON ;
}
// recupero flag per globale
bool bGlob = ( sCmd2 == "GLOB" || sCmd2 == "G") ;
@@ -4375,7 +4379,7 @@ GdbExecutor::ExecuteRelocate( const string& sCmd2, const STRVECTOR& vsParams)
if ( ! GetNamesParam( vsParams[0], vnNames))
return false ;
// recupero tipo di inserimento
int nSonBeforeAfter = GDB_SON ;
int nSonBeforeAfter = GDB_LAST_SON ;
if ( vsParams.size() == 3) {
string sFlag = vsParams[2] ;
ToUpper( sFlag) ;
@@ -4383,6 +4387,10 @@ GdbExecutor::ExecuteRelocate( const string& sCmd2, const STRVECTOR& vsParams)
nSonBeforeAfter = GDB_BEFORE ;
else if ( sFlag == "AFTER")
nSonBeforeAfter = GDB_AFTER ;
else if ( sFlag == "FIRST_SON")
nSonBeforeAfter = GDB_FIRST_SON ;
else // default "LAST_SON"
nSonBeforeAfter = GDB_LAST_SON ;
}
// recupero flag per globale
bool bGlob = ( sCmd2 == "GLOB" || sCmd2 == "G") ;