X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ShapeFile.h;h=16d92ad1c544cf4951ab85ddda9aa018dc408456;hb=4d4d74dd554819c30f1c8ded5520cc6c25aba56b;hp=4046f0b8562466173ccb70b81164bf39b118da45;hpb=1ffac64bed30636e9d4043786b70720ad8ac4ade;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ShapeFile.h b/src/HYDROData/HYDROData_ShapeFile.h index 4046f0b8..16d92ad1 100644 --- a/src/HYDROData/HYDROData_ShapeFile.h +++ b/src/HYDROData/HYDROData_ShapeFile.h @@ -88,13 +88,16 @@ public: HYDRODATA_EXPORT void Export(const QString& aFileName, const Handle_HYDROData_LandCoverMap& aLCM, - QStringList& aNonExpList); + QStringList& aNonExpList, + bool bCheckLinear = true, + bool bUseDiscr = false, + double theDefl = 0.1); int WriteObjectPolyXY(SHPHandle theShpHandle, Handle_HYDROData_PolylineXY thePoly ); int WriteObjectPoly3D(SHPHandle theShpHandle, Handle_HYDROData_Polyline3D thePoly ); - int WriteObjectPolygon(SHPHandle theShpHandle, const TopoDS_Shape& theInputShape ); + int WriteObjectPolygon(SHPHandle theShpHandle, const TopoDS_Shape& theInputShape, bool bUseDiscr, double theDefl ); //Import bool Parse(SHPHandle theHandle, ShapeType theType, int& theShapeTypeOfFile); //Import Landcover @@ -133,7 +136,9 @@ public: private: void ProcessFace(const TopoDS_Face& theFace, SHPHandle theShpHandle, - bool bUseDiscr = false, double theDefl = 0.1); + bool bUseDiscr, double theDefl); + + bool CheckLinear(const TopoDS_Shape& theInpShape); int TryOpenShapeFile(QString theFileName);