EgtGeomKernel 2.4b1 :

- modificati messaggi di Log di Triangulate per non essere visti come veri errori.
This commit is contained in:
DarioS
2022-02-08 16:41:53 +01:00
parent 555e0e4375
commit 899e371c52
2 changed files with 4 additions and 4 deletions
+4 -4
View File
@@ -75,7 +75,7 @@ Triangulate::Make( const PolyLine& PL, PNTVECTOR& vPt, INTVECTOR& vTr)
// eseguo la triangolazione
if ( ! MakeByEC2( vPt, vTr) &&
! MakeByEC3( vPt, vTr)) {
LOG_ERROR( GetEGkLogger(), "Error in MakeByEC23(1)")
LOG_INFO( GetEGkLogger(), "Info : problems in MakeByEC23(1)")
return MakeByEC_HPP( PL, bCCW, vPt, vTr) ;
}
@@ -189,7 +189,7 @@ Triangulate::Make( const POLYLINEVECTOR& vPL, PNTVECTOR& vPt, INTVECTOR& vTr)
// eseguo la triangolazione
if ( ! MakeByEC2( vPt, vTr) &&
! MakeByEC3( vPt, vTr)) {
LOG_ERROR( GetEGkLogger(), "Error in MakeByEC23(N)")
LOG_INFO( GetEGkLogger(), "Info : problems in MakeByEC23(N)")
return MakeByEC_HPP( vPL, bCCW, vPt, vTr) ;
}
@@ -246,7 +246,7 @@ Triangulate::MakeByEC_HPP( const PolyLine& PL, bool bCCW, PNTVECTOR& vPt, INTVEC
// Three subsequent indices form a triangle. Output triangles are counterclockwise.
vTr = mapbox::earcut<int32_t>( polygon) ;
if ( vTr.empty()) {
LOG_ERROR( GetEGkLogger(), "Error in MakeByEC_HPP(1)")
LOG_INFO( GetEGkLogger(), "Info : problems in MakeByEC_HPP(1)")
return false ;
}
if ( ! bCCW)
@@ -302,7 +302,7 @@ Triangulate::MakeByEC_HPP( const POLYLINEVECTOR& vPL, bool bCCW, PNTVECTOR& vPt,
// Three subsequent indices form a triangle. Output triangles are counterclockwise.
vTr = mapbox::earcut<int32_t>( polygon) ;
if ( vTr.empty()) {
LOG_ERROR( GetEGkLogger(), "Error in MakeByEC_HPP(N)")
LOG_INFO( GetEGkLogger(), "Info : problems in MakeByEC_HPP(N)")
return false ;
}
if ( ! bCCW)