EgtGeomKernel : Migliorata interfaccia calcolo distanza punto-curva,

inoltre sistemata gestione per punti singoli e tratti continui
This commit is contained in:
Dario Sassi
2014-01-13 21:11:19 +00:00
parent 87e3800d1a
commit 0ec9bceb16
9 changed files with 228 additions and 160 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ DistPointLine::DistPointLine( const Point3d& ptP,
const ICurveLine& crvLine, bool bIsSegment)
{
// distanza non calcolata
m_dDist = - 1 ;
m_dSqDist = - 1 ;
if ( ! crvLine.IsValid())
return ;
@@ -108,7 +108,7 @@ DistPointLine::GetDist( double& dDist)
//----------------------------------------------------------------------------
bool
DistPointLine::GetPointMinDist( Point3d& ptMinDist)
DistPointLine::GetMinDistPoint( Point3d& ptMinDist)
{
if ( m_dSqDist < 0)
return false ;
@@ -119,7 +119,7 @@ DistPointLine::GetPointMinDist( Point3d& ptMinDist)
//----------------------------------------------------------------------------
bool
DistPointLine::GetParamAtPointMinDist( double& dParam)
DistPointLine::GetParamAtMinDistPoint( double& dParam)
{
if ( m_dSqDist < 0)
return false ;