EgtGeomKernel :
- in costruzione SurfTriMesh rigata corretta inizializzazione variabili - aggiornato codice CurveBezier e portati in un file separato gli algoritmi per i polinomi di Bernstein.
This commit is contained in:
+4
-4
@@ -2086,8 +2086,8 @@ SurfTriMesh::CreateByTwoCurves( const PolyLine& PL1, const PolyLine& PL2, int nR
|
||||
return false ;
|
||||
|
||||
// recupero i punti iniziali su curva 1
|
||||
int nV1p ; double dU1p ; double dA1p ; Point3d ptP1p ;
|
||||
int nV1s ; double dU1s ; double dA1s ; Point3d ptP1s ;
|
||||
int nV1p = SVT_NULL ; double dU1p ; double dA1p ; Point3d ptP1p ;
|
||||
int nV1s = SVT_NULL ; double dU1s ; double dA1s ; Point3d ptP1s ;
|
||||
bool bNext1 = PL1.GetFirstUPoint( &dU1p, &ptP1p) && PL1.GetNextUPoint( &dU1s, &ptP1s, bClosed) ;
|
||||
if ( ! bNext1)
|
||||
return false ;
|
||||
@@ -2096,8 +2096,8 @@ SurfTriMesh::CreateByTwoCurves( const PolyLine& PL1, const PolyLine& PL2, int nR
|
||||
if ( ( nV1p = AddVertex( ptP1p)) == SVT_NULL)
|
||||
return false ;
|
||||
// recupero i punti iniziali su curva 2
|
||||
int nV2p ; double dU2p ; double dA2p ; Point3d ptP2p ;
|
||||
int nV2s ; double dU2s ; double dA2s ; Point3d ptP2s ;
|
||||
int nV2p = SVT_NULL ; double dU2p ; double dA2p ; Point3d ptP2p ;
|
||||
int nV2s = SVT_NULL ; double dU2s ; double dA2s ; Point3d ptP2s ;
|
||||
bool bNext2 = PL2.GetFirstUPoint( &dU2p, &ptP2p) && PL2.GetNextUPoint( &dU2s, &ptP2s, bClosed) ;
|
||||
if ( ! bNext2)
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user