EgtGeomKernel 2.4b1 :
- modificati messaggi di Log di Triangulate per non essere visti come veri errori.
This commit is contained in:
+4
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user