diff --git a/CurveComposite.cpp b/CurveComposite.cpp index cff3ca5..dbae6c7 100644 --- a/CurveComposite.cpp +++ b/CurveComposite.cpp @@ -1028,7 +1028,7 @@ CurveComposite::GetMidDir( Vector3d& vtDir) const if ( ! GetLength( dLen) || ! GetParamAtLength( 0.5 * dLen, dMid)) return false ; // calcolo la direzione - return ::GetTang( *this, 0.5 * m_CrvSmplS.size(), FROM_MINUS, vtDir) ; + return ::GetTang( *this, dMid, FROM_MINUS, vtDir) ; } //---------------------------------------------------------------------------- diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index 08bfb16..08e962b 100644 Binary files a/EgtGeomKernel.rc and b/EgtGeomKernel.rc differ diff --git a/GdbExecutor.cpp b/GdbExecutor.cpp index fde9548..e73c658 100644 --- a/GdbExecutor.cpp +++ b/GdbExecutor.cpp @@ -7921,7 +7921,7 @@ GdbExecutor::ExecuteOutTextIcci( const string& sCmd2, const STRVECTOR& vsParams) sText += "
" ; sText += " U=" + ToString( aInfo.IciA[j].dU,7) + " P=(" + ToString( aInfo.IciA[j].ptI,4) + ")" ; switch( aInfo.IciA[j].nPrevTy) { - case ICCT_NULL : sText += " ??-" ; break ; + case ICCT_NULL : sText += " ?" "?-" ; break ; case ICCT_IN : sText += " IN-" ; break ; case ICCT_OUT : sText += " OUT-" ; break ; case ICCT_ON : sText += " ON-" ; break ; @@ -7940,7 +7940,7 @@ GdbExecutor::ExecuteOutTextIcci( const string& sCmd2, const STRVECTOR& vsParams) sText += string( "
") + ( aInfo.bCBOverEq ? " + " : " - ") ; sText += " U=" + ToString( aInfo.IciB[j].dU,7) + " P=(" + ToString( aInfo.IciB[j].ptI,4) + ")" ; switch( aInfo.IciB[j].nPrevTy) { - case ICCT_NULL : sText += " ??-" ; break ; + case ICCT_NULL : sText += " ?" "?-" ; break ; case ICCT_IN : sText += " IN-" ; break ; case ICCT_OUT : sText += " OUT-" ; break ; case ICCT_ON : sText += " ON-" ; break ;