EgtGeomKernel:
- correzione di un errore di taglio con piani nelle surf Bezier.
This commit is contained in:
@@ -2183,6 +2183,8 @@ Tree::TraceLoopLabelCell( const POLYLINEVECTOR& vplPolygons)
|
||||
Point3d ptCurr ;
|
||||
auto iter = find( m_vnLeaves.begin(), m_vnLeaves.end(), nId) ;
|
||||
int nIdPolygon = distance( m_vnLeaves.begin(), iter) ;
|
||||
if ( nIdPolygon > int( vplPolygons.size()) - 1)
|
||||
return false ;
|
||||
bool bEraseNextPoint = false ;
|
||||
while ( plLoop.GetNextPoint( ptCurr)) {
|
||||
Point3d ptTStart, ptTEnd ;
|
||||
@@ -2218,6 +2220,8 @@ Tree::TraceLoopLabelCell( const POLYLINEVECTOR& vplPolygons)
|
||||
// ricalcolo la posizione di nId nel vettore delle foglie
|
||||
iter = find( m_vnLeaves.begin(), m_vnLeaves.end(), nId) ;
|
||||
nIdPolygon = distance( m_vnLeaves.begin(), iter) ;
|
||||
if ( nIdPolygon > int( vplPolygons.size()) - 1)
|
||||
return false ;
|
||||
// aggiorno il puntatore alla cella
|
||||
pCell = &m_mTree[nId] ;
|
||||
// salvo il verso del loop
|
||||
|
||||
Reference in New Issue
Block a user