EgtGeomKernel 1.6i3 :

- aggiunta a GeomDB funzione RemoveGeoObjAndErase
- aggiunta a SurfFlatRegionByContours funzione GetUnusedCurveTempProps.
This commit is contained in:
Dario Sassi
2015-09-20 08:59:23 +00:00
parent c044f0c785
commit 29f3e20873
4 changed files with 40 additions and 6 deletions
+16 -3
View File
@@ -238,10 +238,23 @@ SurfFlatRegionByContours::GetSurf( void)
bool
SurfFlatRegionByContours::AllCurvesUsed( void)
{
// verifico se cono rimaste delle curve
// verifico se sono rimaste delle curve
for ( auto& pCrv : m_vpCrv) {
if ( pCrv != nullptr)
return true ;
return false ;
}
return false ;
return true ;
}
//-------------------------------------------------------------------------------
bool
SurfFlatRegionByContours::GetUnusedCurveTempProps( INTVECTOR& vId)
{
vId.clear() ;
// verifico se sono rimaste delle curve
for ( auto& pCrv : m_vpCrv) {
if ( pCrv != nullptr)
vId.push_back( pCrv->GetTempProp()) ;
}
return ( ! vId.empty()) ;
}