EgtGeomKernel 1.6b3 :
- aggiunta gestione buchi alle triangolazione di poligoni - creazione suerfici trimesh da regioni con buchi.
This commit is contained in:
+15
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user