EgtGeomKernel : Migliorata interfaccia calcolo distanza punto-curva,
inoltre sistemata gestione per punti singoli e tratti continui
This commit is contained in:
+3
-3
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user