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:
+15
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user