EgtGeomKernel : Sistemazione distanza Punto-CurvaComposita.

This commit is contained in:
Dario Sassi
2014-01-17 10:30:35 +00:00
parent 7479cb4162
commit fb7b07d20e
3 changed files with 102 additions and 39 deletions
+14
View File
@@ -214,3 +214,17 @@ DistPointCurve::GetParamAtMinDistPoint( double dNearParam, double& dParam, int&
return true ;
}
//----------------------------------------------------------------------------
bool
DistPointCurve::GetMinDistInfo( int nInd, MinDistPCInfo& aInfo)
{
if ( m_dDist < 0)
return false ;
if ( nInd < 0 || nInd >= (int) m_Info.size())
return false ;
aInfo = m_Info[nInd] ;
return true ;
}