EgtGeomKernel : GeoFactory ora usa nType invece di sKey,
aggiunto map da sKey a nType.
This commit is contained in:
+8
-1
@@ -21,7 +21,7 @@
|
||||
using namespace std ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
GEOOBJ_REGISTER( KEY_GEO_PNT3D, GeoPoint3d) ;
|
||||
GEOOBJ_REGISTER( GEO_PNT3D, "G_PNT", GeoPoint3d) ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
GeoPoint3d::GeoPoint3d( void)
|
||||
@@ -58,6 +58,13 @@ GeoPoint3d::Clone( void) const
|
||||
return pGPt ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const string&
|
||||
GeoPoint3d::GetKey( void) const
|
||||
{
|
||||
return GEOOBJ_GETKEY( GeoPoint3d) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GeoPoint3d::Save( ostream& osOut) const
|
||||
|
||||
Reference in New Issue
Block a user