]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_I/GEOM_BaseObject_i.cc
Salome HOME
Modification of GEOM interface
[modules/geom.git] / src / GEOM_I / GEOM_BaseObject_i.cc
index 953995317e5a468381cb5ee1fe330ffa97979340..a5b14ec7a711e0736de54934b10ab9c95bc9705c 100644 (file)
@@ -312,3 +312,14 @@ GEOM::CreationInformationSeq* GEOM_BaseObject_i::GetCreationInformation()
 
   return info._retn();
 }
+
+//================================================================================
+/*!
+ * \brief Return the engine creating this object
+ */
+//================================================================================
+
+GEOM::GEOM_Gen_ptr GEOM_BaseObject_i::GetGen()
+{
+  return GEOM::GEOM_Gen::_duplicate( _engine );
+}