EgtGeomKernel 1.6b3 :
- aggiunta gestione buchi alle triangolazione di poligoni - creazione suerfici trimesh da regioni con buchi.
This commit is contained in:
+4
-4
@@ -360,7 +360,7 @@ NfeFont::ApproxWithLines( const string& sText, int nInsPos, double dLinTol, doub
|
||||
pCrvNew->Scale( GLOB_FRM, dScaX, dScaY, dScaZ) ;
|
||||
pCrvNew->Translate( vtMove) ;
|
||||
// approssimo con linee
|
||||
lstPL.push_back( PolyLine()) ;
|
||||
lstPL.emplace_back() ;
|
||||
pCrvNew->ApproxWithLines( dLinTol, dAngTolDeg, lstPL.back()) ;
|
||||
}
|
||||
bIter = pIter->GoToNext() ;
|
||||
@@ -443,7 +443,7 @@ NfeFont::ApproxWithArcs( const string& sText, int nInsPos, double dLinTol, doubl
|
||||
pCrvNew->Scale( GLOB_FRM, dScaX, dScaY, dScaZ) ;
|
||||
pCrvNew->Translate( vtMove) ;
|
||||
// approssimo con archi
|
||||
lstPA.push_back( PolyArc()) ;
|
||||
lstPA.emplace_back() ;
|
||||
pCrv->ApproxWithArcs( dLinTol, dAngTolDeg, lstPA.back()) ;
|
||||
}
|
||||
bIter = pIter->GoToNext() ;
|
||||
@@ -507,7 +507,7 @@ NfeFont::GetTextLines( const string& sText, int nInsPos, PNTVECTOR& vPt, STRVECT
|
||||
SetCodePoints( vTmpCode, sLine) ;
|
||||
vLine.push_back( sLine) ;
|
||||
vTmpCode.clear() ;
|
||||
vPt.push_back( Point3d( 0, vtMove.y, 0)) ;
|
||||
vPt.emplace_back( 0, vtMove.y, 0) ;
|
||||
}
|
||||
// sistemo la posizione
|
||||
vtMove.Set( 0, vtMove.y - dH, 0) ;
|
||||
@@ -537,7 +537,7 @@ NfeFont::GetTextLines( const string& sText, int nInsPos, PNTVECTOR& vPt, STRVECT
|
||||
SetCodePoints( vTmpCode, sLine) ;
|
||||
vLine.push_back( sLine) ;
|
||||
vTmpCode.clear() ;
|
||||
vPt.push_back( Point3d( 0, vtMove.y, 0)) ;
|
||||
vPt.emplace_back( 0, vtMove.y, 0) ;
|
||||
}
|
||||
|
||||
// sistemazioni per la posizione del punto di inserimento
|
||||
|
||||
Reference in New Issue
Block a user