EgtGeomKernel :

- aggiunta IntersSurfTmSurfTm
- correzioni a HashGrids.
This commit is contained in:
Dario Sassi
2018-08-30 07:19:29 +00:00
parent 94d2cb8315
commit 07b1f21ecd
14 changed files with 516 additions and 134 deletions
+3 -6
View File
@@ -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 ;
}