EgtGeomKernel 1.5h5 :
- sistemata approssimazione di curve di Bezier con archi - aggiunta a CurveBezier metodo per sapere se è collassata in un punto - in PolyArc e PolyLine sostituite Splice con Join e aggiunte Split - in TSC non si accetta più la creazione di una curva di Bezier collassata in un punto.
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ DistPointCurve::LineCalculate( const Point3d& ptP, const ICurve& Curve, bool bIs
|
||||
{
|
||||
DistPointLine dstPtLn( ptP, *GetCurveLine( &Curve), bIsSegment) ;
|
||||
|
||||
if ( dstPtLn.m_dSqDist > 0) {
|
||||
if ( dstPtLn.m_dSqDist >= 0) {
|
||||
m_dDist = sqrt( dstPtLn.m_dSqDist) ;
|
||||
m_Info.push_back( MinDistPCInfo( MDPCI_NORMAL, dstPtLn.m_dParam, dstPtLn.m_ptMinDist)) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user