Salome HOME
refs #744 (draft)
[modules/hydro.git] / src / HYDROData / HYDROData_LandCoverMap.h
index 15b697f4da1a79b8aec478bf5e2ded90b4960c7b..c6535eecbc321c69a61b93e7b0c9ad4cd9774bf7 100644 (file)
@@ -90,15 +90,16 @@ public:
 
   HYDRODATA_EXPORT virtual const ObjectKind GetKind() const;
 
-  HYDRODATA_EXPORT bool ImportSHP( const QString& theSHPFileName );
+  HYDRODATA_EXPORT bool ImportSHP( const QString& theSHPFileName,
+                                   const QList<int>& theIndices = QList<int>() );
+  HYDRODATA_EXPORT bool ExportSHP( const QString& theSHPFileName, bool bUseDiscr = false, double theDefl = 0.1) const;
 
   HYDRODATA_EXPORT DBFStatus ImportDBF( const QString& theDBFFileName, 
                                         const QString& theFieldName, 
                                         const QStringList& DBFValues,
                                         const QStringList& StricklerTypes,
                                         const QList<int>& theIndices = QList<int>() );
-  HYDRODATA_EXPORT void ExportSHP( const QString& theSHPFileName ) const;
 
   HYDRODATA_EXPORT void ExportDBF( const QString& theDBFFileName,
                                    const QString& theFieldName, 
@@ -142,6 +143,8 @@ public:
 
   HYDRODATA_EXPORT TopoDS_Shape RemoveInternal(const TopoDS_Shape& InSh);
 
+  HYDRODATA_EXPORT bool CheckLinear();
+
 protected:
   void SetShape( const TopoDS_Shape& );