EgtGeomKernel 1.6a4 :

- DistPointLine correnta per versore non normalizzato
- aggiunta GetGeoType a GeomDB e a GdbIterator
- in lettura NGE binari aggiunta protezione da contemporanea scrittura
- in PolyLine aggiunta funzione per inserimento punti onde raggiungere massima distanza
- aggiunto oggetto VolZmap per virtual milling (per ora vuoto)
- nuova versione file NGE 1009.
This commit is contained in:
Dario Sassi
2015-01-26 07:49:18 +00:00
parent 339988c139
commit 0b8a267b7b
16 changed files with 410 additions and 15 deletions
+15
View File
@@ -622,6 +622,21 @@ GeomDB::GetGdbType( int nId) const
return GDB_TY_NONE ;
}
//----------------------------------------------------------------------------
int
GeomDB::GetGeoType( int nId) const
{
// recupero l'oggetto
const GdbObj* pGdbObj = GetGdbObj( nId) ;
if ( pGdbObj == nullptr)
return GEO_NONE ;
// se oggetto geometrico
if ( ::GetGdbGeo( pGdbObj) != nullptr)
return ::GetGdbGeo( pGdbObj)->GetType() ;
else
return GEO_NONE ;
}
//----------------------------------------------------------------------------
IGeoObj*
GeomDB::GetGeoObj( int nId)