EgtGeomKernel :

- a PolyLine e PolyArc aggiunta funzione ModifyLastParam
- a SurfTriMesh aggiunte funzioni GetFacetAdjacencies e GetFacetsContact.
This commit is contained in:
Dario Sassi
2017-08-22 08:06:50 +00:00
parent 9da43cfd66
commit 9e400bee15
4 changed files with 142 additions and 40 deletions
+12
View File
@@ -81,6 +81,18 @@ PolyLine::Close( void)
return AddUPoint( m_lUPoints.front().second, m_lUPoints.front().first) ;
}
//----------------------------------------------------------------------------
bool
PolyLine::ModifyLastParam( double dPar)
{
// verifico esistano dei punti
if ( m_lUPoints.empty())
return false ;
// eseguo la modifica
m_lUPoints.back().second = dPar ;
return true ;
}
//----------------------------------------------------------------------------
bool
PolyLine::EraseFirstUPoint( void)