EgtGeomKernel :
- aggiunta IntersSurfTmSurfTm - correzioni a HashGrids.
This commit is contained in:
+3
-6
@@ -248,8 +248,7 @@ PolyLine::Split( double dU, PolyLine& PL)
|
||||
// pulisco la polilinea destinazione
|
||||
PL.Clear() ;
|
||||
// ricerca del punto in cui dividere
|
||||
PNTULIST::const_iterator iter ;
|
||||
iter = m_lUPoints.begin() ;
|
||||
auto iter = m_lUPoints.cbegin() ;
|
||||
while ( iter != m_lUPoints.end() && iter->second < ( dU + EPS_PARAM))
|
||||
++ iter ;
|
||||
if ( iter == m_lUPoints.end())
|
||||
@@ -270,10 +269,8 @@ PolyLine::GetLocalBBox( BBox3d& b3Loc) const
|
||||
{
|
||||
// assegno il box in locale, scorrendo tutti i punti
|
||||
b3Loc.Reset() ;
|
||||
for ( PNTULIST::const_iterator iter = m_lUPoints.begin() ;
|
||||
iter != m_lUPoints.end() ;
|
||||
++ iter)
|
||||
b3Loc.Add( iter->first) ;
|
||||
for each ( const auto& UPnt in m_lUPoints)
|
||||
b3Loc.Add( UPnt.first) ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user