EgtGeomKernel 1.5h3 :

- aggiunta IsFlat a tutte le Curve 
- aggiunta ApproxWithArcs a tutte le Curve 
- aggiunto oggetto PolyArc (raccolta ordinata di linee e archi con bulge)
- aggiunto oggetto PointsPCA per stima componenti principali di un insieme di punti
- FromSpheriical e FromPolar di Vector3d sono diventati funzioni e aggiunto FromUprightOrtho
- aggiunte Invert e a Vector3d.
This commit is contained in:
Dario Sassi
2014-08-15 17:36:08 +00:00
parent 1a42207365
commit 77e74ccf4e
27 changed files with 986 additions and 113 deletions
+5 -5
View File
@@ -48,7 +48,7 @@ ExtText::Set( const string& sText, const Point3d& ptP, double dAngDeg, double dH
// assegno i dati
m_ptP = ptP ;
m_vtN = Z_AX ;
m_vtD.FromPolar( 1, dAngDeg) ;
m_vtD = FromPolar( 1, dAngDeg) ;
m_sText = sText ;
m_sFont.clear() ;
m_nWeight = 400 ;
@@ -79,7 +79,7 @@ ExtText::Set( const string& sText, const Point3d& ptP, double dAngDeg,
// assegno i dati
m_ptP = ptP ;
m_vtN = Z_AX ;
m_vtD.FromPolar( 1, dAngDeg) ;
m_vtD = FromPolar( 1, dAngDeg) ;
m_sText = sText ;
m_sFont = sFont ;
m_nWeight = nW ;
@@ -802,8 +802,8 @@ ExtText::Mir( bool bOnLen)
case ETXT_IPBR : m_nInsPos = ETXT_IPBL ; break ;
}
// inverto i versori
m_vtN *= - 1 ;
m_vtD *= - 1 ;
m_vtN.Invert() ;
m_vtD.Invert() ;
}
// altrimenti auto-mirror su altezza del testo
else {
@@ -817,7 +817,7 @@ ExtText::Mir( bool bOnLen)
case ETXT_IPBR : m_nInsPos = ETXT_IPTR ; break ;
}
// inverto il versore normale
m_vtN *= - 1 ;
m_vtN.Invert() ;
}
return true ;