EgtGeomKernel :

- piccola correzione.
This commit is contained in:
Daniele Bariletti
2025-10-20 12:30:35 +02:00
parent f51c5c36d0
commit be64cedfc3
+1 -1
View File
@@ -1137,7 +1137,7 @@ FindSpan( double dU, int nDeg, const DBLVECTOR& vKnots, int& nSpan)
// trovo a quale span appartiene il parametro dU
int nKnots = int( vKnots.size()) ;
if ( abs( dU - vKnots[nKnots-1]) < EPS_SMALL) {
nSpan = nKnots - 1 ;
nSpan = nKnots - 1 - nDeg ;
return true ;
}
int nLow = nDeg - 1 ;