EgtGeomKernel 2.3g1 :
- versione x64 compilata con Clang-cl/LLVM - modifiche varie per eliminare warning più gravi di questo compilatore.
This commit is contained in:
@@ -475,19 +475,19 @@ Tool::SetGenTool( const string& sToolName, const ICurveComposite* pToolOutline,
|
||||
if ( ! pCurve->ApproxWithLines( m_dLinTol, m_dAngTolDeg, ICurve::APL_SPECIAL, plyApprox))
|
||||
return false ;
|
||||
// Aggiungo i segmenti di retta alla approssimazione
|
||||
Point3d ptEnd ;
|
||||
Point3d ptEnd, ptTmp ;
|
||||
plyApprox.GetFirstPoint( ptEnd) ;
|
||||
double dEndU ;
|
||||
pCurve->GetParamAtPoint( ptEnd, dEndU) ;
|
||||
Vector3d vtTanArc, vtExtN ;
|
||||
pCurve->GetPointTang( dEndU, ICurve::FROM_MINUS, Point3d( 0, 0, 0), vtTanArc) ;
|
||||
pCurve->GetPointTang( dEndU, ICurve::FROM_MINUS, ptTmp, vtTanArc) ;
|
||||
vtExtN = - vtTanArc ^ Z_AX ;
|
||||
vtExtN.Normalize() ;
|
||||
m_vArcNormals.emplace_back( vtExtN) ;
|
||||
while ( plyApprox.GetNextPoint( ptEnd)) {
|
||||
m_ArcLineApprox.AddLine( ptEnd) ;
|
||||
pCurve->GetParamAtPoint( ptEnd, dEndU) ;
|
||||
pCurve->GetPointTang( dEndU, ICurve::FROM_MINUS, Point3d(0, 0, 0), vtTanArc) ;
|
||||
pCurve->GetPointTang( dEndU, ICurve::FROM_MINUS, ptTmp, vtTanArc) ;
|
||||
vtExtN = - vtTanArc ^ Z_AX ;
|
||||
vtExtN.Normalize() ;
|
||||
m_vArcNormals.emplace_back( vtExtN) ;
|
||||
|
||||
Reference in New Issue
Block a user