EgtGeomKernel 1.9l4 :
- fabs sostituito da abs - in Zmap razionalizzazione operazioni taglio spilloni - in SurfTriMesh UpdateFaceting senza più chiamate recursive.
This commit is contained in:
+2
-2
@@ -82,7 +82,7 @@ DistPointArc::DistPointFlatArc( const Point3d& ptP, const ICurveArc& arArc)
|
||||
|
||||
// se non tutti i punti e il parametro è sui bordi, li verifico entrambi
|
||||
if ( m_Info[0].nFlag != MDPCI_START_CONT &&
|
||||
( fabs( m_Info[0].dPar) < EPS_ZERO || fabs( m_Info[0].dPar - 1) < EPS_ZERO)) {
|
||||
( abs( m_Info[0].dPar) < EPS_ZERO || abs( m_Info[0].dPar - 1) < EPS_ZERO)) {
|
||||
for ( int i = 0 ; i <= 1 ; i ++) {
|
||||
// eseguo il calcolo
|
||||
double dU = i ;
|
||||
@@ -90,7 +90,7 @@ DistPointArc::DistPointFlatArc( const Point3d& ptP, const ICurveArc& arArc)
|
||||
arArc.GetPointD1D2( dU, ICurve::FROM_MINUS, ptTest) ;
|
||||
double dDist = Dist( ptP, ptTest) ;
|
||||
// altro punto con la stessa minima distanza
|
||||
if ( i == 1 && fabs( dDist - m_dDist) < EPS_SMALL) {
|
||||
if ( i == 1 && abs( dDist - m_dDist) < EPS_SMALL) {
|
||||
// lo aggiungo
|
||||
m_Info.emplace_back( MDPCI_NORMAL, dU, ptTest) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user