void Init( const HYDROData_LandCoverMap& );
HYDRODATA_EXPORT bool More() const;
HYDRODATA_EXPORT void Next();
-
+
int Index() const;
HYDRODATA_EXPORT TopoDS_Face Face() const;
HYDRODATA_EXPORT QString StricklerType() const;
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,
+ 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 ExportDBF( const QString& theDBFFileName,
- const QString& theFieldName,
+ const QString& theFieldName,
const QStringList& theDBFValues,
const QStringList& theStricklerTypes ) const;
std::vector<int>& theTypes ) const;
HYDRODATA_EXPORT void ClassifyPoints( const std::vector<gp_XY>& thePoints,
- const Handle(HYDROData_StricklerTable)& theTable,
+ const Handle(HYDROData_StricklerTable)& theTable,
std::vector<double>& theCoeffs, double DefValue, bool UseMax ) const;
protected:
static TopoDS_Shape MergeFaces(const TopTools_ListOfShape& theFaces,
bool IsToUnify,
- TopTools_IndexedDataMapOfShapeListOfShape* theShHistory = NULL,
+ TopTools_IndexedDataMapOfShapeListOfShape* theShHistory = NULL,
double theTolerance = 1E-5 );
public: