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:
Dario Sassi
2014-08-19 20:19:17 +00:00
parent de246fc3e7
commit d0521e8f92
23 changed files with 499 additions and 208 deletions
+1 -1
View File
@@ -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)) ;
}