diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index cc4a0c7..8427a4c 100644 Binary files a/EgtGeomKernel.rc and b/EgtGeomKernel.rc differ diff --git a/PolyLine.cpp b/PolyLine.cpp index 3846f76..c96d02f 100644 --- a/PolyLine.cpp +++ b/PolyLine.cpp @@ -61,7 +61,7 @@ PolyLine::AddUPoint( double dPar, const Point3d& ptP) return false ; } - m_nCount ++ ; + ++ m_nCount ; return true ; } @@ -88,7 +88,7 @@ PolyLine::EraseFirstUPoint( void) return false ; m_lUPoints.pop_front() ; - m_nCount -- ; + -- m_nCount ; return true ; } @@ -101,7 +101,7 @@ PolyLine::EraseLastUPoint( void) return false ; m_lUPoints.pop_back() ; - m_nCount -- ; + -- m_nCount ; return true ; } @@ -641,6 +641,7 @@ PolyLine::AdjustForMaxSegmentLen( double& dMaxLen) double dCoeff = double( i) / nStep ; m_lUPoints.insert( iter, POINTU( Media( ptPprec, ptPcurr, dCoeff), (( 1 - dCoeff) * dUprec + dCoeff * dUcurr))) ; + ++ m_nCount ; } } // passo al successivo