EgtGraphics 1.6g1 :
- modificati i parametri di visualizzazione delle curve.
This commit is contained in:
+3
-2
@@ -187,6 +187,7 @@ Scene::DrawGeoObj( const IGdbIterator& iIter, int nPass, const MdStMkCol& siObj)
|
||||
// se la grafica associata non è valida la ricalcolo
|
||||
ObjEGrGraphics* pGraphics = GetObjEGrGraphics( pGeoObj) ;
|
||||
if ( ! pGraphics->IsValid()) {
|
||||
const double ANG_TOL_GRAPH_DEG = 15 ;
|
||||
// se vettore
|
||||
if ( nGeoType == GEO_VECT3D) {
|
||||
// recupero il vettore
|
||||
@@ -238,7 +239,7 @@ Scene::DrawGeoObj( const IGdbIterator& iIter, int nPass, const MdStMkCol& siObj)
|
||||
return false ;
|
||||
// calcolo la grafica
|
||||
PolyLine PL ;
|
||||
pCurve->ApproxWithLines( 0.005, 5, ICurve::APL_STD, PL) ;
|
||||
pCurve->ApproxWithLines( EPS_SMALL, ANG_TOL_GRAPH_DEG, ICurve::APL_STD, PL) ;
|
||||
pGraphics->Clear() ;
|
||||
pGraphics->AddColor( siObj.colObj) ;
|
||||
pGraphics->AddPolyLine( PL) ;
|
||||
@@ -315,7 +316,7 @@ Scene::DrawGeoObj( const IGdbIterator& iIter, int nPass, const MdStMkCol& siObj)
|
||||
return false ;
|
||||
// calcolo la grafica
|
||||
POLYLINELIST lstPL ;
|
||||
pTXT->ApproxWithLines( 0.01, 5, lstPL) ;
|
||||
pTXT->ApproxWithLines( 10 * EPS_SMALL, ANG_TOL_GRAPH_DEG, lstPL) ;
|
||||
pGraphics->Clear() ;
|
||||
pGraphics->AddColor( siObj.colObj) ;
|
||||
for ( const auto& PL : lstPL)
|
||||
|
||||
Reference in New Issue
Block a user