EgtGeomKernel :
- aggiunta gestione livello di debug tramite Set/GetEGkDebugLev - introduzione della costante SQ_INFINITO = INFINITO * INFINITO - corretta triangolazione per oggetti molto grandi (si usava INFINITO invece di SQ_INFINITO) - corretta scalatura di curve composite (quando si espande si aggiusta la continuità tra le curve componenti).
This commit is contained in:
+3
-2
@@ -468,7 +468,8 @@ CurveByApprox::BiArcOrSplit( int nLev, PolyLine& PL, double dLinTol, double dAng
|
||||
if ( nLev >= MAX_LEV) {
|
||||
dMaxDist = 0 ;
|
||||
// segnalo situazione per debug
|
||||
LOG_DBG_ERR( GetEGkLogger(), "ERROR : Exceeded recursions")
|
||||
if ( GetEGkDebugLev() >= 5)
|
||||
LOG_DBG_ERR( GetEGkLogger(), "ERROR : Exceeded recursions")
|
||||
}
|
||||
|
||||
// se lunghezza abbastanza picccola, forzo l'accettazione della curva
|
||||
@@ -498,7 +499,7 @@ CurveByApprox::BiArcOrSplit( int nLev, PolyLine& PL, double dLinTol, double dAng
|
||||
// se raggiunto il massimo livello di recursione, errore
|
||||
if ( nLev >= MAX_LEV) {
|
||||
// segnalo situazione per debug
|
||||
LOG_DBG_ERR( GetEGkLogger(), "ERROR : Exceeded recursions")
|
||||
LOG_ERROR( GetEGkLogger(), "ERROR : Exceeded recursions")
|
||||
return false ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user