EgtGeomKernel 1.6b3 :

- aggiunta gestione buchi alle triangolazione di poligoni
- creazione suerfici trimesh da regioni con buchi.
This commit is contained in:
Dario Sassi
2015-02-11 11:38:50 +00:00
parent 48df8ea18c
commit 07405f7de6
25 changed files with 1056 additions and 166 deletions
+15 -1
View File
@@ -55,7 +55,7 @@ PolyLine::AddUPoint( double dPar, const Point3d& ptP)
}
// eseguo inserimento
try {
m_lUPoints.push_back( POINTU( ptP, dPar)) ;
m_lUPoints.emplace_back( ptP, dPar) ;
}
catch (...) {
return false ;
@@ -258,6 +258,20 @@ PolyLine::Split( double dU, PolyLine& PL)
return true ;
}
//----------------------------------------------------------------------------
bool
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) ;
return true ;
}
//----------------------------------------------------------------------------
bool
PolyLine::IsClosed( void) const